Official 5165 FAQ/Question thread

02/05/2010 21:26 Adziunia#931
Quote:
Originally Posted by xSynthesis View Post

First thing is you should use your current ip address.

[Only registered and activated users can see links. Click Here To Register...]

and use "9958" as a port. Not 9985.
this is my server.dat i mean part that u should make like tihis
Quote:
<row>
<field name="id">101</field>
<field name="ServerName">AdzikowoCO</field> <<server name
<field name="ServerIP">5.232.140.101</field> << ip
<field name="ServerPort">9958</field> < this port
<field name="FlashName">AdzikowoCO</field> <again server name
<field name="FlashIcon">Group3/server8.swf</field>
<field name="FlashHint"></field>
<field name="Child">0</field>
</row>
02/05/2010 22:53 godfathEr08#932
My screen wont work in full resolution and the game is cut off on the right. also i have windows 7
02/05/2010 23:08 xSynthesis#933
Quote:
Originally Posted by godfathEr08 View Post
My screen wont work in full resolution and the game is cut off on the right. also i have windows 7
Well, Conquer screen won't work in full resolution on windows 7 but you could change your computer screen resolution to "1024 x 768" so it could work in full resolution. And then start the conquer client.
02/05/2010 23:41 godfathEr08#934
ummm is there command for attribute points?
02/05/2010 23:50 xSynthesis#935
Quote:
Originally Posted by godfathEr08 View Post
ummm is there command for attribute points?
Here is one. Its abit simple code.

Paste this code to Chat.cs

PHP Code:
  if (Cmd[0] == "/stats")
                        {
                                
GC.MyChar.Str += 500;
                                
GC.MyChar.Vit += 500;
                                
GC.MyChar.Agi += 500;
                                
GC.MyChar.Spi += 500;
                            }
                        if (
Cmd[0] == "/-stats")
                        {
                            
GC.MyChar.Str -= 500;
                            
GC.MyChar.Vit -= 500;
                            
GC.MyChar.Agi -= 500;
                            
GC.MyChar.Spi -= 500;
                        } 
02/06/2010 00:08 mAr1u$#936
how I can get the IP of a player?
02/06/2010 00:27 godfathEr08#937
didnt work lol
02/06/2010 00:56 Adziunia#938
maybe put it in gm or pm command and try by gm or pm
02/06/2010 01:29 Arcо#939
Quote:
Originally Posted by godfathEr08 View Post
ummm is there command for attribute points?
if (Cmd[0] == "/attr")
{
GC.MyChar.StatPoints = ushort.Parse(Cmd[1]);
}
EX
/attr 636
02/06/2010 02:04 godfathEr08#940
here vid of problem

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/R6CCgrBGXN4&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/R6CCgrBGXN4&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>
02/06/2010 02:05 Arcо#941
Quote:
Originally Posted by godfathEr08 View Post
here vid of problem

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/R6CCgrBGXN4&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/R6CCgrBGXN4&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>
Just post the url and it will embed the video automatically.
02/06/2010 02:19 xSynthesis#942
Woah. I guess you are really new on coding x) anywayz just add the code under this void.

PHP Code:
                            if (Cmd[0] == "/quiz"
                                    
if (!Features.QuizShow.QuizON)
                                    
Features.QuizShow.Start();
                                return; 

Type console /exit

Save it and then rebuild it. And log in again.
02/06/2010 02:24 Arcо#943
Quote:
Originally Posted by xSynthesis View Post
Woah. I guess you are really new on coding x) anywayz just add the code under this void.

PHP Code:
                            if (Cmd[0] == "/quiz"
                                    
if (!Features.QuizShow.QuizON)
                                    
Features.QuizShow.Start();
                                break; 

Type console /exit

Save it and then rebuild it. And log in again.
Seeing as its not a case you don't need to break it.
02/06/2010 02:26 Korvacs#944
Quote:
Originally Posted by .Arco View Post
Seeing as its not a case you don't need to break it.
Return would be alot better, if you use return then it wont cycle through the rest of the if statements performing check after pointless check in your command list, and it is much more efficient.
02/06/2010 02:27 xSynthesis#945
Quote:
Originally Posted by .Arco View Post
Seeing as its not a case you don't need to break it.
Its actually a case on my server.
PHP Code:
                                case "/quiz":
                                if (!
Features.QuizShow.QuizON)
                                    
Features.QuizShow.Start();
                                break; 
Just forget to delete "break;" and put return in while converting to normal. D= Btw Fanks. Gonna edit my last message.