| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		Noz3001 I'm a spammer
  Reputation: 26
  Joined: 29 May 2006 Posts: 6220 Location: /dev/null
  | 
		 | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		DeletedUser14087 I post too much
  Reputation: 2
  Joined: 21 Jun 2006 Posts: 3069
 
  | 
		
			
				 Posted: Sun Jun 22, 2008 2:26 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				Looks nice  
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		AndrewMan Grandmaster Cheater Supreme
  Reputation: 0
  Joined: 01 Aug 2007 Posts: 1257
 
  | 
		
			
				 Posted: Sun Jun 22, 2008 2:49 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				Nice, good job  
 
 
No linux for me   
 _________________
  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Jani Grandmaster Cheater
  Reputation: 2
  Joined: 29 Dec 2006 Posts: 804
 
  | 
		
			
				 Posted: Sun Jun 22, 2008 3:44 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				 	  | noz3001 wrote: | 	 		  | So far I've only got a linux version because I don't know how to compile it for windows yet :oops:. | 	  And this is written in..? O_o
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Noz3001 I'm a spammer
  Reputation: 26
  Joined: 29 May 2006 Posts: 6220 Location: /dev/null
  | 
		
			
				 Posted: Sun Jun 22, 2008 3:46 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				 	  | Jani wrote: | 	 		   	  | noz3001 wrote: | 	 		  So far I've only got a linux version because I don't know how to compile it for windows yet  . | 	  And this is written in..? O_o | 	  
 
 
 C++ with wxwidgets
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Labyrnth Moderator
  Reputation: 10
  Joined: 28 Nov 2006 Posts: 6301
 
  | 
		
			
				 Posted: Sun Jun 22, 2008 8:45 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				 	  | Quote: | 	 		  
 
 File:  	 PINWord
 
Status: 	
 
OK(Note: file has been scanned before. Therefore, this file's scan results will not be stored in the database)
 
MD5: 	a9ad6e16440a032465f7a707a27e9b9b
 
Packers detected: 	
 
-
 
Scanner results
 
Scan taken on 23 Jun 2008 02:09:58 (GMT)
 
A-Squared 	
 
Found nothing
 
AntiVir 	
 
Found nothing
 
ArcaVir 	
 
Found nothing
 
Avast 	
 
Found nothing
 
AVG Antivirus 	
 
Found nothing
 
BitDefender 	
 
Found nothing
 
ClamAV 	
 
Found nothing
 
CPsecure 	
 
Found nothing
 
Dr.Web 	
 
Found nothing
 
F-Prot Antivirus 	
 
Found nothing
 
F-Secure Anti-Virus 	
 
Found nothing
 
Fortinet 	
 
Found nothing
 
Ikarus 	
 
Found nothing
 
Kaspersky Anti-Virus 	
 
Found nothing
 
NOD32 	
 
Found nothing
 
Norman Virus Control 	
 
Found nothing
 
Panda Antivirus 	
 
Found nothing
 
Sophos Antivirus 	
 
Found nothing
 
VirusBuster 	
 
Found nothing
 
VBA32 	
 
Found nothing
 
 | 	  
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		nwongfeiying Grandmaster Cheater
  Reputation: 2
  Joined: 25 Jun 2007 Posts: 695
 
  | 
		
			
				 Posted: Sun Jun 22, 2008 10:50 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				| Why would noz3001 post a virus? He's like one of the most trusted peeps of all this forum. I wonder if coding for Linux is different than coding for Windows.
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		atom0s Moderator
  Reputation: 205
  Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
  | 
		
			
				 Posted: Sun Jun 22, 2008 11:00 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				 	  | nwongfeiying wrote: | 	 		  | Why would noz3001 post a virus? He's like one of the most trusted peeps of all this forum. I wonder if coding for Linux is different than coding for Windows. | 	  
 
 
Just because someone has been at a forum for a long time, has been a friend of anyones for a long time, etc. does not mean that they don't have an evil side to them. Just because you know them based on their previous posts does not mean that you truly know if that person would hesitate to post something out of anger.
 
 
Not only that, a lot of people will pull you in with nice posts, good gestures, etc. just to backstab you and use you.
 
 
While I do trust noz myself, that doesn't mean I would never second guess his actions.
 _________________
 - Retired.  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		oib111 I post too much
  Reputation: 0
  Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
  | 
		
			
				 Posted: Sun Jun 22, 2008 11:17 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				 	  | nwongfeiying wrote: | 	 		  | Why would noz3001 post a virus? He's like one of the most trusted peeps of all this forum. I wonder if coding for Linux is different than coding for Windows. | 	  
 
 
It isn't. Just install code::blocks and you're fine.
 _________________
  
 
 
 	  | 8D wrote: | 	 		  
 
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing | 	 
  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		AndrewMan Grandmaster Cheater Supreme
  Reputation: 0
  Joined: 01 Aug 2007 Posts: 1257
 
  | 
		
			
				 Posted: Sun Jun 22, 2008 11:34 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				 	  | Wiccaan wrote: | 	 		   	  | nwongfeiying wrote: | 	 		  | Why would noz3001 post a virus? He's like one of the most trusted peeps of all this forum. I wonder if coding for Linux is different than coding for Windows. | 	  
 
 
 
 
Not only that, a lot of people will pull you in with nice posts, good gestures, etc. just to backstab you and use you.
 
 
 | 	  
 
 
Backstab like a sneaky sneak rogue deep in the ass?
 
 
Uh oh spaghettios.   
 _________________
  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Noz3001 I'm a spammer
  Reputation: 26
  Joined: 29 May 2006 Posts: 6220 Location: /dev/null
  | 
		
			
				 Posted: Mon Jun 23, 2008 3:37 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				 	  | nwongfeiying wrote: | 	 		  | I wonder if coding for Linux is different than coding for Windows. | 	  
 
 
 It differs slightly. For example, in another program where I had to use multi threading I couldn't use windows API (obviously) so I had to look it up.
 
 
It ended up like this:
 
 
 	  | Code: | 	 		  pthread_t PlayerTimeUpdate;
 
int Thread = pthread_create(&PlayerTimeUpdate, NULL, UpdateNation, NULL); // Start time update thread
 
 
void *UpdateNation(void*i)
 
{
 
    for(; IsRunning == true ; sleep(60))
 
    {
 
        // Calculate free houses
 
        Player->n_FreeHouses = (Player->n_TotalAcres*10) - (Player->n_Peasants + Player->n_Soldiers);
 
 
        // Add Peasant income
 
        Player->n_TotalCash += Player->n_Peasants*10;
 
    }
 
 
    pthread_exit(NULL); // Exit
 
}  | 	  
 
 
I still don't know why the thread function has to be void* with a void* parameter  . POSIX Threads  . 
 
 
Unfortunately I don't think this is cross platform, so I'd have to "#ifdef WINDOWS" it and use CreateThread instead. =|
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		atom0s Moderator
  Reputation: 205
  Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
  | 
		 | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Noz3001 I'm a spammer
  Reputation: 26
  Joined: 29 May 2006 Posts: 6220 Location: /dev/null
  | 
		
			
				 Posted: Mon Jun 23, 2008 4:46 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				
 
 
 Thanks Wiccaan, i'll try it out later.
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		DeletedUser14087 I post too much
  Reputation: 2
  Joined: 21 Jun 2006 Posts: 3069
 
  | 
		
			
				 Posted: Mon Jun 23, 2008 5:26 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				noz i like the UI, only linux can that   ?
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Noz3001 I'm a spammer
  Reputation: 26
  Joined: 29 May 2006 Posts: 6220 Location: /dev/null
  | 
		
			
				 Posted: Mon Jun 23, 2008 5:48 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				 	  | Rot1 wrote: | 	 		  noz i like the UI, only linux can that   ? | 	  
 
 
 Yeah, that theme is Linux. Windows just shows a boring black background and boring buttons because of the XP manifest.
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		 |