Register for your free account! | Forgot your password?

You last visited: Today at 06:09

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

Advertisement



[Release]Simple stuff (stat commands)

Discussion on [Release]Simple stuff (stat commands) within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
ih8you's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 146
Received Thanks: 38
[Release]Simple stuff (stat commands)

Well the highest u can put the stats is 65535 (which is max value of ushort)

I coded this completly myself

Code:
                                        if (Splitter[0] == "/vit")
                                        {
                                            ushort NewVit = ushort.Parse(Splitter[1]);
                                            MyChar.Vit = NewVit;
                                            SendPacket(General.MyPackets.Vital((long)MyChar.UID, 15, MyChar.Vit));
                                        }
                                        if (Splitter[0] == "/agi")
                                        {
                                            ushort NewAgi = ushort.Parse(Splitter[1]);
                                            MyChar.Agi = NewAgi;
                                            SendPacket(General.MyPackets.Vital((long)MyChar.UID, 17, MyChar.Agi));
                                        }
                                        if (Splitter[0] == "/spi")
                                        {
                                            ushort NewSpi = ushort.Parse(Splitter[1]);
                                            MyChar.Spi = NewSpi;
                                            SendPacket(General.MyPackets.Vital((long)MyChar.UID, 14, MyChar.Spi));
                                        }
                                        if (Splitter[0] == "/str")
                                        {
                                            ushort NewStr = ushort.Parse(Splitter[1]);
                                            MyChar.Str = NewStr;
                                            SendPacket(General.MyPackets.Vital((long)MyChar.UID, 16, MyChar.Str));
                                        }

Press Thanks if this helped

i'm still learning how to code, this is my 3rd release.
If u have any suggestions to improve this post here
ih8you is offline  
Old 05/14/2009, 20:28   #2
 
elite*gold: 0
Join Date: Feb 2008
Posts: 19
Received Thanks: 0
can you tell me whay me add any code for patch 5065 tq binary
malak2100 is offline  
Old 05/14/2009, 20:47   #3
 
ih8you's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 146
Received Thanks: 38
Quote:
Originally Posted by malak2100 View Post
can you tell me whay me add any code for patch 5065 tq binary
no for 2 reasons
1. Dont know how, made it in patch 5017
2.Binary sucks!
ih8you is offline  
Old 05/15/2009, 01:58   #4
 
hunterman01's Avatar
 
elite*gold: 20
Join Date: Dec 2006
Posts: 945
Received Thanks: 175
Quote:
Originally Posted by malak2100 View Post
can you tell me whay me add any code for patch 5065 tq binary
How many times do we have to tell people YOU CANNOT CODE BINARYS!
hunterman01 is offline  
Reply


Similar Threads Similar Threads
[Small Release] Set players stat points command
07/14/2010 - CO2 PServer Guides & Releases - 5 Replies
Hey guys some people are having problems on their servers with stat points messing up. Here is a little code to add into chat.cs. These are 100% right went to the Official Conquer website and looked at all the stats "Masters" need. Goto chat.cs and search for /recall Under that void add this code. #region Set Player stats if (Cmd == "/setstats400") { if (GC.AuthInfo.Status...
[ASM stuff] GM Commands.
12/30/2009 - Planetside - 5 Replies
Well, I have been digging into planetside.exe quite deeply; I have discovered a test in there for all GM commands. I am trying to execute some, but there is some quite interesting shit int here. Drop a breakpoint on planetside+0047876C and then type /zlock. You may possibly need to have some other stuff to make this work, but here are the commands i've found: /zlock /zcommand /setbaseresources
[Release] hp/mp commands
06/01/2009 - CO2 PServer Guides & Releases - 1 Replies
I found it useful to have some command that will let you pot 1kk hp in one line :) Btw. Revive only works in Talk or Team (couldnt figure out how to make it work in other chats :() place this code into chat.cs among the cases #region hp/mp related case "hp": //Refill HP { if (CSocket.Client.isPM || CSocket.Client.isGM) { if...
[Release]Any P Server Stat Checker
03/30/2009 - CO2 PServer Guides & Releases - 4 Replies
Okay well I have figured out that i suck ass at c# so i gave up on it no point on keep going with it so now I'm wanting to learn how to code like php stuff like server status checkers and full web sites. After about an hr of reading through some tuts i figured out how to do this. I did this cause i like playing p servers not making my own and instead of waiting for them to say hey servers on i like to check my self. This can be used for ur server or other peoples server dosn't matter i guess....
Release stat unrandomizer (NOT RELEASED BY ME)
12/20/2008 - MapleStory - 11 Replies
Credits go to xPxPxP Download: http://www.mediafire.com/?m1d4g02j41x Instructions: 1. Extract PCOMDebug.dll into your MapleStory folder (if you have another, just put it in another folder temporarily 2. Open MapleStory and go to your character creation screen. 3. Fill in all information except for stats 4. Alt+Tab and push F1



All times are GMT +1. The time now is 06:13.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.