Question about the Party system

Welcome in the osRose emulator Project.

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

Question about the Party system

Postby Circa on Mon Mar 14, 2011 5:00 am

If I were to change this part of the code, will it have automatic effect, or do i have to change the client to match with this code?
edit: this is the original code, just wondering if I were to change it.

  1.  
  2. //LMA: We set the max number of Party members
  3. void CParty::RefreshMax()
  4. {
  5.     /*Party level : 1~4 -----> Up to 4 players
  6.     Party Level : 5~9 -----> Up to 5 players
  7.     Party Level : 10~14 -----> Up to 6 players
  8.     Party LeveL : Over 15 -----> Up to 7 players*/
  9.     int new_one=0;
  10. if(PartyLevel>=1&&PartyLevel<=4)
  11.     {
  12.         new_one=4;
  13.     }
  14. if(PartyLevel>=5&&PartyLevel<=9)
  15.     {
  16.         new_one=5;
  17.     }
  18. if(PartyLevel>=10&&PartyLevel<=14)
  19.     {
  20.         new_one=6;
  21.     }
  22. if(PartyLevel>=15)
  23.     {
  24.         new_one=7;
  25.     }
  26.  
  27.  
Circa
Clown
Clown
 
Posts: 404
Joined: Sun Aug 23, 2009 5:52 am
Location: CA

Return to Support - OsRose Emulator

Who is online

Users browsing this forum: No registered users and 5 guests

cron