Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames > DarkOrbit
You last visited: Today at 06:00

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



private server award system promlem :(

Discussion on private server award system promlem :( within the DarkOrbit forum part of the Browsergames category.

Closed Thread
 
Old   #1
 
nckrnckr's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 584
Received Thanks: 73
private server award system promlem :(

my biggest problem

nckrnckr is offline  
Old 10/29/2013, 18:22   #2


 
Requi's Avatar
 
elite*gold: 3800
The Black Market: 244/0/0
Join Date: Dec 2012
Posts: 13,039
Received Thanks: 8,243
try it with:
this.Ship.uri += Convert.ToUInt32(1);
Requi is offline  
Thanks
3 Users
Old 10/29/2013, 18:30   #3
 
elite*gold: 0
Join Date: Jan 2012
Posts: 1,996
Received Thanks: 3,420
Or
This.Ship.Uri = This.Ship.Uri + 1;

Edit :

Tested and my code works.
NoCheatImPGM is offline  
Thanks
1 User
Old 10/29/2013, 18:39   #4
 
nckrnckr's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 584
Received Thanks: 73
Quote:
Originally Posted by NoCheatImPGM View Post
Or
This.Ship.Uri = This.Ship.Uri + 1;
dont work

Quote:
Originally Posted by Requi View Post
try it with:
this.Ship.uri += Convert.ToUInt32(1);
dont work

still the same problem
nckrnckr is offline  
Old 10/29/2013, 18:43   #5
 
elite*gold: 46
Join Date: Oct 2010
Posts: 782
Received Thanks: 525
Then your code modifies uri somewhere else.

Quote:
Originally Posted by NoCheatImPGM View Post
Or
This.Ship.Uri = This.Ship.Uri + 1;
Same as This.Ship.Uri += 1;

Quote:
Originally Posted by Requi View Post
try it with:
this.Ship.uri += Convert.ToUInt32(1);
Warum sollte man eine 1 (ist ja über 0, passt also eh in UInt) konventieren zu uint ? Ergibt für mich keinen Sinn. Außerdem könnte man auch <Variable> <Operator> <(NeuerTyp)Ausdruck/Zahl> , z.B. this.Ship.Uri += (UIint)1; schreiben (auch "Casten" genannt). Das wäre das selbe.
th0rex is offline  
Thanks
1 User
Old 10/29/2013, 18:47   #6
 
asterixxx1995's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 92
Received Thanks: 129
try this
this.Ship.uri += 1;
this.Send("0|LM|ST|URI|1|");
UpdateShip();

public void UpdateShip()
{
this.Send("RDY|I|" + this.userId + "|" + this.Ship.Name + "|" + this.Ship.Id + "|" + this.Ship.speed + "|" + this.Ship.shield + "|" + this.Ship.maxShield + "|" + this.Ship.HP + "|" + this.Ship.maxHP + "|4000|4000|" + this.Ship.x + "|" + this.Ship.y + "|" + this.mapId + "|" + this.Ship.factionId + "|1|80000|8500|5|5|0|0|1|0|" + this.Ship.uri + "|10000|21||4|1|0");

}
asterixxx1995 is offline  
Thanks
1 User
Old 10/29/2013, 18:49   #7
 
'Heaven.'s Avatar
 
elite*gold: 1
The Black Market: 331/0/0
Join Date: Jun 2012
Posts: 5,819
Received Thanks: 3,200
Code:
this.Ship.uri = (Convert.ToInt32(this.Ship.uri) + 1).ToString();
should work as well.
'Heaven. is offline  
Thanks
1 User
Old 10/29/2013, 18:54   #8
 
elite*gold: 46
Join Date: Oct 2010
Posts: 782
Received Thanks: 525
Quote:
Originally Posted by Waka Toa View Post
Code:
this.Ship.uri = (Convert.ToInt32(this.Ship.uri) + 1).ToString();
should work as well.
Won't work if uri is an int/uint which it mostlikely is.

Edit: Omfg he declared an variable to store numbers as string. GG.
th0rex is offline  
Thanks
1 User
Old 10/29/2013, 18:57   #9
 
elite*gold: 0
Join Date: Jan 2012
Posts: 1,996
Received Thanks: 3,420
It works.
NoCheatImPGM is offline  
Thanks
1 User
Old 10/29/2013, 19:04   #10
 
nckrnckr's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 584
Received Thanks: 73
Quote:
Originally Posted by Waka Toa View Post
Code:
this.Ship.uri = (Convert.ToInt32(this.Ship.uri) + 1).ToString();
should work as well.
working !!! yeah

EDİT: but re-started the emulator
and error



Problem fixed (NocheatImPGM (thanks))

#closerequest#
nckrnckr is offline  
Old 10/29/2013, 19:20   #11
 
elite*gold: 0
Join Date: Oct 2013
Posts: 153
Received Thanks: 37
Poor you.Also censor your IP from the image...
epixvkad is offline  
Old 10/29/2013, 19:35   #12
 
'Heaven.'s Avatar
 
elite*gold: 1
The Black Market: 331/0/0
Join Date: Jun 2012
Posts: 5,819
Received Thanks: 3,200
Quote:
Originally Posted by omitma View Post
Omfg he declared an variable to store numbers as string. GG.
Yes, in Azure is everything as string stored i think...

so the += will add the "1" as string
'Heaven. is offline  
Old 10/29/2013, 19:51   #13
 
elite*gold: 46
Join Date: Oct 2010
Posts: 782
Received Thanks: 525
Nah not everything lol. Most things are Integers. Atleast in my version, can't look in original as i dont have it anymore.
th0rex is offline  
Old 10/29/2013, 20:16   #14


 
Nectix's Avatar
 
elite*gold: 26
The Black Market: 135/0/0
Join Date: Apr 2012
Posts: 23,018
Received Thanks: 3,060
#closed
Nectix is offline  
Closed Thread


Similar Threads Similar Threads
[Regust] Pk turnament + award system CoEmu
12/16/2009 - CO2 Private Server - 2 Replies
Hi any one Can help my code PK turnament + award system For CoEmu v2??/ Plyz :) Thanks :)
Help GW award system
11/28/2009 - CO2 Private Server - 1 Replies
I got problem i trai add GW award system after yuo win GW Yuo get GoldPrize But wat opcion Fir cheak Who win gw? I usin 1565 Thanks for help :)
[Interlude L2-Off] L2-Ezakiel PvP Server with PVP Award System(aion extreme team)
07/27/2009 - Lin2 Private Server - 1 Replies
Dear players, Like you see L2-Ezakiel staff is back with a full new server ! We worked lot of time to dev a full new Lineage PVP server system The beta just finished and the live server open today 10:00PM GMT+1 The team (we are the aion-extreme team) : =GM=SoulBreaker =GM=Acrack



All times are GMT +2. The time now is 06:00.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.