Register for your free account! | Forgot your password?

You last visited: Today at 08:22

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


Question About Coding...

Discussion on Question About Coding... within the CO2 Main - Discussions / Questions forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2008
Posts: 68
Received Thanks: 13
Question About Coding...

Ok I Need Sum Help With A PvP Server It Has infinity Stamina taths noth the probleem but HERC is (they spam it like hell ) How Could Our Team Delet Skill "Herc" or make the command admin Thx For Help If u Wanne Join Us go TO :P



lizzio is offline  
Old 07/02/2008, 11:38   #2
Moderator

 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,016
Received Thanks: 684
Why the heck should you delete herc? Fix the stamina instead.


KraHen is offline  
Old 07/02/2008, 13:50   #3
 
elite*gold: 111
Join Date: Feb 2008
Posts: 2,161
Received Thanks: 646
edit the chat.cs
n u stole futures avatar -.-
~*NewDuuDe*~ is offline  
Thanks
1 User
Old 07/02/2008, 14:40   #4
 
elite*gold: 0
Join Date: Feb 2008
Posts: 68
Received Thanks: 13
Quote:
Originally Posted by ElDeRnEcRo View Post
Why the heck should you delete herc? Fix the stamina instead.
Then How TO Fix Stamina lmao


lizzio is offline  
Old 07/02/2008, 14:41   #5
 
elite*gold: 0
Join Date: Feb 2008
Posts: 68
Received Thanks: 13
Quote:
Originally Posted by BERGHUIS1 View Post
edit the chat.cs
n u stole futures avatar -.-

i Found it and delete the herc part but u can still use /skill herc to get it explain alittle bit thx :P
lizzio is offline  
Old 07/02/2008, 14:46   #6
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,877
Does us all a favor before you try to get into the world of coding;

InfamousNoone is offline  
Thanks
1 User
Old 07/02/2008, 15:13   #7
 
elite*gold: 111
Join Date: Feb 2008
Posts: 2,161
Received Thanks: 646
lmao
~*NewDuuDe*~ is offline  
Thanks
1 User
Old 07/02/2008, 15:52   #8
 
elite*gold: 0
Join Date: May 2006
Posts: 2,168
Received Thanks: 8,587
You havn't provided us with much information, but heres basically the simplist way.

Go to your Skills handler or herc skill interpreter and do like
Character.Stamina -= 30;
leavemealone is offline  
Old 07/02/2008, 16:38   #9
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,877
You still need to send the packet to update it client side. Which for me would look like;

Code:
StatTypePacket update;
update.Size = sizeof(update);
update.Type = STATTYPEPACKET_TYPE;
update.UID = Client->Entity->UID;
update.Value = Client->Stamina;
update.Id = SID_STAMINA;
Client->Send(&update, sizeof(update));
Clearly your not using C++ however (Nor can I really, actually I can't use any language for a CO P. Server, remember? My comp died, using sisters, she won't let me download the client) so yours will look much different, I just pasted this to mind boggle you.
InfamousNoone is offline  
Old 07/02/2008, 17:01   #10
 
elite*gold: 0
Join Date: Dec 2006
Posts: 681
Received Thanks: 237
Quote:
Originally Posted by InfamousNoone View Post
You still need to send the packet to update it client side. Which for me would look like;

Code:
StatTypePacket update;
update.Size = sizeof(update);
update.Type = STATTYPEPACKET_TYPE;
update.UID = Client->Entity->UID;
update.Value = Client->Stamina;
update.Id = SID_STAMINA;
Client->Send(&update, sizeof(update));
Clearly your not using C++ however (Nor can I really, actually I can't use any language for a CO P. Server, remember? My comp died, using sisters, she won't let me download the client) so yours will look much different, I just pasted this to mind boggle you.
Simply make /skill a GM command and make them purchase skills from market pharmacist.

Easiest way to do it, if you can't make the /skills command GM then you just fail.
scottdavey is offline  
Old 07/02/2008, 23:44   #11
 
elite*gold: 0
Join Date: Nov 2007
Posts: 24
Received Thanks: 2
Quote:
Originally Posted by InfamousNoone View Post
You still need to send the packet to update it client side. Which for me would look like;

Code:
StatTypePacket update;
update.Size = sizeof(update);
update.Type = STATTYPEPACKET_TYPE;
update.UID = Client->Entity->UID;
update.Value = Client->Stamina;
update.Id = SID_STAMINA;
Client->Send(&update, sizeof(update));
Clearly your not using C++ however (Nor can I really, actually I can't use any language for a CO P. Server, remember? My comp died, using sisters, she won't let me download the client) so yours will look much different, I just pasted this to mind boggle you.
CLEARLY I GOT C++ AND BTW WE JUST ASKED SUMTHING TO GET AN ANSWER NOTH THO GET CALL FOR TRASH OR SSCHIT THX FOR HELP.
axelvdb is offline  
Old 07/03/2008, 00:49   #12
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,877
Yes you 'got' C++ but you guys are too retarded to use it for a server.
Your trash and ****, It's quite obvious.
InfamousNoone is offline  
Old 07/03/2008, 09:47   #13
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
If someone could tell me the lab1-2-3-4 ids it would be awsome :P


~Yuki~ is offline  
Reply



« CO2 Full private server source | My Private PvP server »

Similar Threads
Coding npc(last question)
06/17/2010 - CO2 PServer - Discussions / Questions - 20 Replies
hi, i have conquer pserver, i need a video who show me all the steps of changing the price of an npc( breeder for exemple) pelase guys, i know it's a lot but i'm so needding it thanks
[Question] for coding part ...
12/31/2009 - Dekaron Private Server - 2 Replies
If skill name part or etc. files passes over 255 line at present, error becomes. Is it that is so because byte coding is measure?
[QUESTION] Coding Portals
06/29/2009 - CO2 PServer - Discussions / Questions - 25 Replies
Can someone like give me a hint how to code Portals into the source?
Coding Question Only Answers NO FLAMING
07/05/2008 - CO2 Main - Discussions / Questions - 2 Replies
Ok I am still working on my pvp server to make it a lvl server so my question is how to delet all commands? exepct skills and profs,job but the stuff and lvl commands if u need more info just ask AND THIS POST IS MADE TO GET AN ANSWER NOT TO GET FLAMED LIKE "wath a noob coder" and shit thank u any way. Other Question IS i got the lvl rates to work but how to add drops if needed more info pm me



All times are GMT +2. The time now is 08:22.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

BTC: 3KeUpz52VCbhmLwuwydqxu6U1xsgbT8YT5
ETH: 0xc6ec801B7563A4376751F33b0573308aDa611E05

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