I need some help with this, I'm new

02/10/2009 00:49 Artemis11z#1
I've alwase been really interesting in Co, and making a server is really fun. I get to do whatever I want, unlike ANY other server I would have to abide by the rules. xD This is mostly for fun, but I want some help. If im lucky it might go public =D

Well, I need some help with the following things. Keep in mind im using PowerSource Co source.

I want a 3rd rebirth. How exactly do I code that? I know what your thinking, thats easy. I know it is, i just have a question. For the RB command the bottom line is ReBorn. something or w/e. I could easily make a command for the 2nd rb, but I dont know what I have to put down. 2NDReBorn? Lol, Ill show you what I mean

Quote:
if (Splitter[0] == "/rb")
{
MyChar.ReBorn(byte.Parse(Splitter[1]));
}
Like should I make it MyChar.ReBorn2? because really if I just change /rb to /rb2 it will just change the command will it not? =X

Also, with the third reborn I want to assosiate it with LuckAbsorb. I have all the things, like the effect code and all that, but I dont know how to give 3rd rb that effect even if I could figure out how to code the ACTUAL 3rd rb.. I hope you understand my problems so far xD

Erm, I need an /mm code. If someone has free time maybe they could Copy + Paste yours? =P I was thinking of changing all the / to @. Would that work? Like, is it possible for me to do that without screwing anything up?

LAST THING. The map 1601 (180 180) Sanctuary. Or even 1767 (50 50)
My server is missing these maps, .. its hard to tell without an mm code but i cant even make portals to these places. =( What section would I use to code these maps? If i look at the coding of a map I could probobly figure it out easy. I just started this =)

Well im a noob, and any help would be appretiated. Ill help you guys out in the future =P
02/10/2009 01:26 PeTe Ninja#2
Code:
 if (Splitter[0] == "@mm") // teleports your to a certain spot (exa. @mm 1002 431 379 )
                                        {
                                            MyChar.Teleport(ushort.Parse(Splitter[1]), ushort.Parse(Splitter[2]), ushort.Parse(Splitter[3]));
                                        }
press thanks if this helped
02/10/2009 01:45 Artemis11z#3
=D tyvm, this will help alot

Edit "Dont wana double post.." Erm, I put this in right after /scroll.. i then added it under the /travel commands so it would pop up when you typed in /travel.. but its not working whatsoever
02/10/2009 04:03 PeTe Ninja#4
make sure when you put something in ( using C# ) you press F6 and then F5
02/10/2009 10:34 _Emme_#5
For your actual question;

No, do not add another reborn thingy. Go into your reborn code, not the command, the code, and see if MyChar.RBCount++; is in there. If it isnt, add it. Now, each time you get reborned, your reborn count will higher. 0 = NonRB, 1 = FirstRB , 2 = SecRB etc etc..

Since 3rd reborn doesn't even exist, you would have to code stuffs for it, example an effect ( but I think secondrb effect shows up when your rbcount is two or higher ).

Add my msn for futher help, [Only registered and activated users can see links. Click Here To Register...]

Goodluck and welcome to e*pvp!