After being reborn, it change character job to visitor

Put your bugs you find in osRose here

Moderators: osRose dev team, ospRose dev team, osiRose dev team, Moderators

After being reborn, it change character job to visitor

Postby orlando619 on Fri Jan 13, 2012 2:07 pm

good day lmame,

I would like to ask you if can you give me the code for this bug ??

because after i type /reborn, then when i logged in my character change its class to visitor again ..

can you give me the code for that ??
I think it's in the gmcmds.cpp ..

but I don't know how to code it ..

thnx ..
orlando619
Jelly Bean
Jelly Bean
 
Posts: 19
Joined: Tue Dec 13, 2011 2:34 am

Re: After being reborn, it change character job to visitor

Postby PurpleYouko on Fri Jan 13, 2012 2:50 pm

Well of course it does.

That's the whole point of reborn. It starts you over again as a visitor so you can play the entire game all over again. :lol:
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classes
Formatting fixed for different resolutions
Image

"A Gazelle is nothing but a giraffe plotted logarithmicaly"
User avatar
PurpleYouko
Rose Guru
Rose Guru
 
Posts: 4733
Joined: Fri Aug 10, 2007 2:05 pm

Re: After being reborn, it change character job to visitor

Postby Donkiii on Fri Jan 20, 2012 3:37 am

Not sure if you still need help or not but if you want to change how it works just look under:

  1. bool CWorldServer::pakGMReborn


And configure the setting to how you want it. Be sure to re-compile after.
Donkiii
Jelly Bean
Jelly Bean
 
Posts: 32
Joined: Mon Oct 25, 2010 6:46 pm

Re: After being reborn, it change character job to visitor

Postby orlando619 on Sun Jan 13, 2013 3:52 pm

i know that i will edit something in this line

  1.        //LMA: We remove all but basic skills.
  2.         for(int i=0;i<320;i++)  //For keeping the skills, remove this line
  3.         {  //For keeping the skills, remove this line
  4.             thisclient->cskills[i].id = 0;  //For keeping the skills, remove this line
  5.             thisclient->cskills[i].level = 1;  //For keeping the skills, remove this line
  6.             thisclient->cskills[i].thisskill=NULL;
  7.         }  //For keeping the skills, remove this line
  8.  
  9.         for(int i=0;i<MAX_QUICKBAR;i++)
  10.             thisclient->quickbar[i] = 0;
  11.  
  12.          thisclient->p_skills = 0;  //For keeping the skills, remove
  13.          thisclient->CharInfo->SkillPoints = 0;
  14.          thisclient->CharInfo->StatPoints = 0;
  15.          thisclient->CharInfo->Job = 0;
  16.  
  17.          thisclient->Stats->Level = 1;
  18.          thisclient->CharInfo->Exp = 0;
  19.  
  20.          thisclient->ActiveQuest = 0;
  21.  


but i don't know what to edit in theses lines ..pls help me :D
orlando619
Jelly Bean
Jelly Bean
 
Posts: 19
Joined: Tue Dec 13, 2011 2:34 am

Re: After being reborn, it change character job to visitor

Postby Exordium on Sun Jan 13, 2013 5:23 pm

Heres the fix

  1.        //LMA: We remove all but basic skills.
  2.         for(int i=0;i<320;i++)  //For keeping the skills, remove this line
  3.         {  //For keeping the skills, remove this line
  4.             thisclient->cskills[i].id = 0;  //For keeping the skills, remove this line
  5.             thisclient->cskills[i].level = 1;  //For keeping the skills, remove this line
  6.             thisclient->cskills[i].thisskill=NULL;
  7.         }  //For keeping the skills, remove this line
  8.  
  9.         for(int i=0;i<MAX_QUICKBAR;i++)
  10.             thisclient->quickbar[i] = 0;
  11.  
  12.          thisclient->p_skills = 0;  //For keeping the skills, remove
  13.          thisclient->CharInfo->SkillPoints = 0;
  14.          thisclient->CharInfo->StatPoints = 0;
  15.          //thisclient->CharInfo->Job = 0;
  16.  
  17.          thisclient->Stats->Level = 1;
  18.          thisclient->CharInfo->Exp = 0;
  19.  
  20.          thisclient->ActiveQuest = 0;
  21.  
Exordium
Smoulie
Smoulie
 
Posts: 67
Joined: Tue Sep 25, 2012 11:10 am


Return to Bugs

Who is online

Users browsing this forum: No registered users and 3 guests