solarose
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomeHome  MainMain  SearchSearch  Latest imagesLatest images  RegisterRegister  Log inLog in  SERVER STATUS  Vote for Solarose  
Solarose is ONLINE now!!!. Check status : Click Here

 

 A /reborn2 command

Go down 
+6
robsabel1992
Mojaku01
Ambition
Decoding ishi
Gravit
Pseudien
10 posters
AuthorMessage
Pseudien
Wolverine
Wolverine
Pseudien


Number of posts : 820
Age : 32
Location : A pineapple under the seaa... It gets soggy and eaten by urchiiins... La-da-daaaa!
Registration date : 2008-06-19

Character sheet
Testing: V2: Arrr, V3: Pluh

A /reborn2 command Empty
PostSubject: A /reborn2 command   A /reborn2 command EmptySun Jul 20, 2008 3:18 am

Remember the awesome site reborn, that let you reborn with all your skills, and hotkeys?
Yeah, how about we implant that as a /reborn2 command?
That would be really helpful to the senior players =3
Back to top Go down
Gravit
Wolverine
Wolverine
Gravit


Number of posts : 804
Location : Lithuania
Registration date : 2008-06-15

Character sheet
Testing:

A /reborn2 command Empty
PostSubject: Re: A /reborn2 command   A /reborn2 command EmptySun Jul 20, 2008 3:31 am

Mm.. that should be hard to make /reborn2 command.. Great Idea... But think how hard to make it..
Back to top Go down
Decoding ishi
GM
GM
Decoding ishi


Number of posts : 262
Location : Somewhere between heaven and earth
Registration date : 2008-05-05

Character sheet
Testing: [GM]ishi • ishimaru • ishikun • and my legit char lol

A /reborn2 command Empty
PostSubject: Re: A /reborn2 command   A /reborn2 command EmptySun Jul 20, 2008 5:56 am

there's no such command from the original official rose server command, MAYBE ( a big maybe ) someone could make it , but like gravy said, it'll be hard to make

if u're saying "how hard could it be , just make a single command wont be that hard" then my friend, you have much to learn about c++ and sql.

BUT who knows , maybe in revision 81, there'll be that command , lets just hope and pray lol
Back to top Go down
http://www.exotique-management.webs.com
Pseudien
Wolverine
Wolverine
Pseudien


Number of posts : 820
Age : 32
Location : A pineapple under the seaa... It gets soggy and eaten by urchiiins... La-da-daaaa!
Registration date : 2008-06-19

Character sheet
Testing: V2: Arrr, V3: Pluh

A /reborn2 command Empty
PostSubject: Re: A /reborn2 command   A /reborn2 command EmptySun Jul 20, 2008 8:24 am

It's just a suggestion nobody else has made before.

Actually, I think that it wouldn't be as hard as you think, because didn't the site have a script about it already? All we have to do is link the script with an ingame command such as /reborn2
Back to top Go down
Ambition
Rackie
Rackie
Ambition


Number of posts : 79
Age : 34
Registration date : 2008-06-17

A /reborn2 command Empty
PostSubject: Re: A /reborn2 command   A /reborn2 command EmptySun Jul 20, 2008 1:03 pm

Programming wise, but depends on the heirachy of the rose source, it can take simple as a click, or complicated as hell. Ie if I want /reborn2 to work exactly the same as /reborn it would be much easier
Back to top Go down
http://solarose.niceboard.net
Mojaku01
Aqua
Aqua
Mojaku01


Number of posts : 199
Age : 30
Location : In front of the T.V and the Computer.....lol.!
Registration date : 2008-05-12

Character sheet
Testing:

A /reborn2 command Empty
PostSubject: Re: A /reborn2 command   A /reborn2 command EmptySun Jul 20, 2008 2:26 pm

OMG i will pray that command will be at revision 81...so that i can reborn fast...
Back to top Go down
robsabel1992
Wolverine
Wolverine
robsabel1992


Number of posts : 662
Age : 32
Location : Philippines
Registration date : 2008-04-24

Character sheet
Testing: [GG]Rayvean, [GG]robsbgck

A /reborn2 command Empty
PostSubject: Re: A /reborn2 command   A /reborn2 command EmptySun Aug 03, 2008 5:51 pm

that suggestion will be hard to do.
knowing, and reading with C++ is so complicated.
It needs a lot if time to make that command.
Back to top Go down
http://www.4shared.com/file/123303138/46c535/guide.html
Darkness
Crawfy
Crawfy
Darkness


Number of posts : 304
Age : 30
Location : Darkness
Registration date : 2008-05-16

Character sheet
Testing: Darkness - D2Cleric

A /reborn2 command Empty
PostSubject: Re: A /reborn2 command   A /reborn2 command EmptyMon Aug 04, 2008 6:59 am

i will pray Also i hope Admin can do it
Back to top Go down
Admin
Admin
Admin
Admin


Number of posts : 651
Age : 43
Location : Malaysia
Registration date : 2008-04-23

A /reborn2 command Empty
PostSubject: Re: A /reborn2 command   A /reborn2 command EmptyTue Sep 02, 2008 1:24 pm

/reborn2 is pretty handy for vet player...but you need to know why /reborn command exist at the first place.

before /reborn command exist, ppl use website to reborn and start to have multi classing problem. Since we were using chuckystart CMS, those multiclassing is taken care off.

However, reborn must be done while you are offline. That is why, when you reborn, your character will be kicked out.

Technically, reborn2 could be done pretty straight forward. What should I do is remove command to clear your shortcut F key, remove command to reset your job, and remove command to reset your current skill. Just maintain code for change your current level to 1, reset statspoint and skillpoints. Thats it. In other word, you are second class job even at level 1.

But, wouldn't be too easy? I will see what I can do when time permitted.
Back to top Go down
http://expertester.wordpress.com
Pseudien
Wolverine
Wolverine
Pseudien


Number of posts : 820
Age : 32
Location : A pineapple under the seaa... It gets soggy and eaten by urchiiins... La-da-daaaa!
Registration date : 2008-06-19

Character sheet
Testing: V2: Arrr, V3: Pluh

A /reborn2 command Empty
PostSubject: Re: A /reborn2 command   A /reborn2 command EmptyTue Sep 02, 2008 1:37 pm

Sweet!

Everybody was and is really rooting for this.

-organizes a parade to celebrate!-
Back to top Go down
Gravit
Wolverine
Wolverine
Gravit


Number of posts : 804
Location : Lithuania
Registration date : 2008-06-15

Character sheet
Testing:

A /reborn2 command Empty
PostSubject: Re: A /reborn2 command   A /reborn2 command EmptyTue Sep 02, 2008 7:01 pm

I think Admin's skills going with every lovely day :O
Back to top Go down
Mojaku01
Aqua
Aqua
Mojaku01


Number of posts : 199
Age : 30
Location : In front of the T.V and the Computer.....lol.!
Registration date : 2008-05-12

Character sheet
Testing:

A /reborn2 command Empty
PostSubject: Re: A /reborn2 command   A /reborn2 command EmptyTue Sep 02, 2008 9:53 pm

woah i wish this will do OMG Grav.! Your Wolverine OMG.! Shocked
Back to top Go down
Mommy
Aqua
Aqua



Number of posts : 195
Age : 41
Location : california
Registration date : 2008-07-21

A /reborn2 command Empty
PostSubject: Re: A /reborn2 command   A /reborn2 command EmptyThu Sep 04, 2008 11:57 pm

i hope this becomes a reality
Back to top Go down
Pseudien
Wolverine
Wolverine
Pseudien


Number of posts : 820
Age : 32
Location : A pineapple under the seaa... It gets soggy and eaten by urchiiins... La-da-daaaa!
Registration date : 2008-06-19

Character sheet
Testing: V2: Arrr, V3: Pluh

A /reborn2 command Empty
PostSubject: Re: A /reborn2 command   A /reborn2 command EmptyFri Oct 31, 2008 11:18 am

Since I've made my own reborn2 >__>...

In comamnds.ini
Find:
Quote :
Reborn=
Under it, add:
Quote :
Reborn2=99

In sockets.h
Find:
Quote :
int Command_Reborn; //reborn by Core
Under it, add:
Quote :
int Command_Reborn2; //reborn2 edited by pseudien...

In worldserver.cpp
Find:
Quote :
Config.Command_Reborn = ConfigGetInt ( "commands.ini", "reborn", 299 ); //Reborn by core
Under it, add:
Quote :
Config.Command_Reborn2 = ConfigGetInt ( "commands.ini", "reborn2", 299); //Reborn by core & edited by psuedien

In worldserver.h
Find:
Quote :
bool pakGMReborn( CPlayer* thisclient); //Reborn by Core
Under it, add:
Quote :
bool pakGMReborn2( CPlayer* thisclient); //Reborn by Core -- and edited by pseudien

In gmcmds.cpp
Find:
Quote :
else if (strcmp(command, "reborn")==0) //==== Reborn ==== (By Core)
{
if(Config.Command_Reborn > thisclient->Session->accesslevel)
return true;

Log( MSG_GMACTION, " %s : /reborn" , thisclient->CharInfo->charname);
return pakGMReborn(thisclient);
}
Under it, add:
Quote :
else if (strcmp(command, "reborn2")==0) //==== Reborn2 ==== (By Core&Pseudien edited)
{
if(Config.Command_Reborn2 > thisclient->Session->accesslevel)
return true;

Log( MSG_GMACTION, " %s : /reborn2" , thisclient->CharInfo->charname);
return pakGMReborn2(thisclient);
}


Last edited by Pseudien on Fri Oct 31, 2008 11:23 am; edited 1 time in total (Reason for editing : cutted off...)
Back to top Go down
Pseudien
Wolverine
Wolverine
Pseudien


Number of posts : 820
Age : 32
Location : A pineapple under the seaa... It gets soggy and eaten by urchiiins... La-da-daaaa!
Registration date : 2008-06-19

Character sheet
Testing: V2: Arrr, V3: Pluh

A /reborn2 command Empty
PostSubject: Re: A /reborn2 command   A /reborn2 command EmptyFri Oct 31, 2008 11:22 am

In gmcmds.cpp (again)
Find:
Quote :
// Reborn command credits Core
bool CWorldServer::pakGMReborn(CPlayer* thisclient)
{
if(thisclient->Stats->Level < 250) //Level 250 can be changed to any level you want
{
GServer->SendPM(thisclient, "You have to be lvl 250 to reborn!");
}

else
{
for(int i=0;i<MAX_SKILL;i++) //For keeping the skills, remove this line
{ //For keeping the skills, remove this line
thisclient->cskills[i].id = 0; //For keeping the skills, remove this line
thisclient->cskills[i].level = 1; //For keeping the skills, remove this line
} //For keeping the skills, remove this line

for(int i=0;i<MAX_QUICKBAR;i++)
thisclient->quickbar[i] = 0;

thisclient->p_skills = 0; //For keeping the skills, remove
thisclient->CharInfo->SkillPoints = 0;
thisclient->CharInfo->StatPoints = 0;
thisclient->CharInfo->Job = 0;

thisclient->Stats->Level = 1;
thisclient->CharInfo->Exp = 0;

thisclient->ActiveQuest = 0;
thisclient->MyQuest.clear();

// Uncomment below if you want to use the Nobles part
/*
char newcharname[65];
strcpy (newcharname,"[Nobles]");
strcat (newcharname, thisclient->CharInfo->charname);
GServer->DB->QExecute(" UPDATE characters SET char_name = '%s' WHERE id = '%i' ",newcharname, thisclient->CharInfo->charid);
*/

BEGINPACKET( pak, 0x702 );
ADDSTRING( pak, "You were disconnected from the server!" );
ADDBYTE( pak, 0 );
thisclient->client->SendPacket( &pak );

RESETPACKET( pak, 0x707 );
ADDWORD( pak, 0 );
thisclient->client->SendPacket( &pak );

thisclient->client->isActive = false;
}

return true;
}
Under it, add the code itself:
Quote :
// Reborn command credits Core -- edited by pseudien XP
bool CWorldServer::pakGMReborn2(CPlayer* thisclient)
{
if(thisclient->Stats->Level < 230) //Level 230 can be changed to any level you want
{
GServer->SendPM(thisclient, "You have to be lvl 230 to reborn!");
}

else
{
/* for(int i=0;i<MAX_SKILL;i++) //For keeping the skills, remove this line
{ //For keeping the skills, remove this line
thisclient->cskills[i].id = 0; //For keeping the skills, remove this line
thisclient->cskills[i].level = 1; //For keeping the skills, remove this line
} //For keeping the skills, remove this line
*/
//for(int i=0;i<MAX_QUICKBAR;i++)
// thisclient->quickbar[i] = 0;

//thisclient->p_skills = 0; //For keeping the skills, remove
thisclient->CharInfo->SkillPoints = 0;
thisclient->CharInfo->StatPoints = 0;
//thisclient->CharInfo->Job = 0; //excluded; makes the job remain the same

thisclient->Stats->Level = 1;
thisclient->CharInfo->Exp = 0;

thisclient->ActiveQuest = 0;
thisclient->MyQuest.clear();

{
GServer->SendPM(thisclient, "Congratz! You've reborned!"); //Message
thisclient->CharInfo->Exp += 200; //lazy level refresh
}
}

return true;
}
There isn't a way to multiclass because the /class command won't let you change jobs when you've already a job (the job reset was excluded).
Also, since the skills don't change, and I added a lazy level refresh (which isn't needed, but this way it won't confuse players) there isn't a need for the player to be kicked out.
P.S., sorry for the messiness. I don't know how to make the spaces stay.
P.S.S. I doubled posted because the previouss post was cut off...
Back to top Go down
rosedealer
Rackie
Rackie
rosedealer


Number of posts : 74
Age : 29
Location : Philippines
Registration date : 2008-06-07

Character sheet
Testing: PEACE

A /reborn2 command Empty
PostSubject: Re: A /reborn2 command   A /reborn2 command EmptySat May 09, 2009 11:26 am

hope /reborn2 will live
Back to top Go down
Admin
Admin
Admin
Admin


Number of posts : 651
Age : 43
Location : Malaysia
Registration date : 2008-04-23

A /reborn2 command Empty
PostSubject: Re: A /reborn2 command   A /reborn2 command EmptySat May 09, 2009 6:27 pm

no and it never WILL.. FULL STOP.

we dev/admin/GM hate multiclasser because they are trouble maker (for server and community...with their annoyance.

Previous scenario : Admin, please help me, my char can't login. Upon checkin', he has more skills in database than what game server can handle. Repeat this problem for another 200.

Multiclaser checker (in reborn1) is done for this purpose.


Last edited by Admin on Sat May 09, 2009 6:36 pm; edited 1 time in total
Back to top Go down
http://expertester.wordpress.com
Gravit
Wolverine
Wolverine
Gravit


Number of posts : 804
Location : Lithuania
Registration date : 2008-06-15

Character sheet
Testing:

A /reborn2 command Empty
PostSubject: Re: A /reborn2 command   A /reborn2 command EmptySat May 09, 2009 6:31 pm

Topic closed. Admins word is final in this topic
Back to top Go down
Sponsored content





A /reborn2 command Empty
PostSubject: Re: A /reborn2 command   A /reborn2 command Empty

Back to top Go down
 
A /reborn2 command
Back to top 
Page 1 of 1
 Similar topics
-
» /shoptype command
» command /allskill
» /invis command for [GG] (Inivisibility)
» Having annoouncement command or less broadcast delay time for GG

Permissions in this forum:You cannot reply to topics in this forum
solarose :: Support :: Suggestion-
Jump to: