[devRev4] Status/Regeneration timers are broken.

Welcome in the osRose emulator Project.

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

Re: [devRev4] Status/Regeneration timers are broken.

Postby kismetbecomes on Wed Apr 17, 2013 1:21 am

observe wrote:Even when its added it will not show the correct time.
The timers are still off (check server time for example)

the server time should be around -32m hours ^^


Are you saying we are trapped? :o
RoseZa v437 - HueRose Test Project -- http://hueroseonline.no-ip.biz
kismetbecomes
Rackie
Rackie
 
Posts: 299
Joined: Mon Feb 06, 2012 12:41 am

Re: [devRev4] Status/Regeneration timers are broken.

Postby kismetbecomes on Thu Apr 18, 2013 7:03 pm

observe wrote:Even when its added it will not show the correct time.
The timers are still off (check server time for example)

the server time should be around -32m hours ^^


Yes, I'am aware the timers are client sided, but, is there a way to get around it?
RoseZa v437 - HueRose Test Project -- http://hueroseonline.no-ip.biz
kismetbecomes
Rackie
Rackie
 
Posts: 299
Joined: Mon Feb 06, 2012 12:41 am

Re: [devRev4] Status/Regeneration timers are broken.

Postby Rakoon on Fri Apr 19, 2013 3:59 am

  1. //Good version?
  2.                             if(useitem->itemnum==200||useitem->itemnum==948||useitem->itemnum==1303)
  3.                             {
  4.                                 //valid until logout (limit to one hour)
  5.                                 thisclient->once=false;
  6.                                 //thisclient->timerxp=clock()+60*60*1000;  //1 hour
  7.                                 thisclient->timerxp=time(NULL)+60*60;  //1 hour
  8.                                 Log(MSG_INFO,"Bonus XP to %i",thisclient->bonusxp);
  9.                                 BEGINPACKET( pak, 0x702 );
  10.                                 ADDSTRING( pak, "The effect will hold until you log off or you play for one hour." );
  11.                                 ADDBYTE( pak, 0 );
  12.                                 thisclient->client->SendPacket(&pak);
  13.                             }
  14.                             else if (useitem->itemnum==199)
  15.                             {
  16.                                 //30 minutes.
  17.                                 //valid until logout
  18.                                 thisclient->once=true;
  19.                                 thisclient->timerxp=time(NULL)+30*60;  //1 hour
  20.                                 //Log(MSG_INFO,"Bonus XP to %i",thisclient->bonusxp);
  21.                                 BEGINPACKET( pak, 0x702 );
  22.                                 ADDSTRING( pak, "The effect will hold until you log off or you play for 30 minutes." );
  23.                                 ADDBYTE( pak, 0 );
  24.                                 thisclient->client->SendPacket(&pak);
  25.                             }
  26.                             else if(useitem->itemnum==203)
  27.                             {
  28.                                 //3 days, will "resist" to logout ;)
  29.                                 //thisclient->timerxp=clock()+86400*1000;
  30.                                 thisclient->timerxp=time(NULL)+86400*3;
  31.                                 thisclient->once=false;
  32.                                 //Log(MSG_INFO,"Bonus XP to %i",thisclient->bonusxp);
  33.                                 BEGINPACKET( pak, 0x702 );
  34.                                 ADDSTRING( pak, "The effect will hold 3 days." );
  35.                                 ADDBYTE( pak, 0 );
  36.                                 thisclient->client->SendPacket(&pak);
  37.                             }
  38.                             else
  39.                             {
  40.                                 //1 day, will "resist" to logout ;)
  41.                                 //thisclient->timerxp=clock()+86400*1000;
  42.                                 thisclient->timerxp=time(NULL)+86400;
  43.                                 thisclient->once=false;
  44.                                 //Log(MSG_INFO,"Bonus XP to %i",thisclient->bonusxp);
  45.                                 BEGINPACKET( pak, 0x702 );
  46.                                 ADDSTRING( pak, "The effect will hold 24 hours." );
  47.                                 ADDBYTE( pak, 0 );
  48.                                 thisclient->client->SendPacket(&pak);
  49.                             }
  50.                         }
  51.                         else
  52.                         {
  53.                             //LMA: Player already has a medal exp.
  54.                             BEGINPACKET( pak, 0x702 );
  55.                             ADDSTRING( pak, "You already have an exp bonus." );
  56.                             ADDBYTE( pak, 0 );
  57.                             thisclient->client->SendPacket(&pak);
  58.                             return NULL;
  59.                         }
  60.  
  61.                     }
  62.                     break;


i check those code it should be for 30 min bot 1 hours when already used it in the game it will stay for 4 months :shock:


we should change the number to just make it for 30 min ?


2 silly Questions

i want to change the color name ingame like example blue for gm name

how to make it ? :mrgreen:
Rakoon
Rackie
Rackie
 
Posts: 204
Joined: Sat Oct 20, 2012 5:49 am

Re: [devRev4] Status/Regeneration timers are broken.

Postby Circa on Fri Apr 19, 2013 7:55 am

Rakoon wrote:
2 silly Questions
i want to change the color name ingame like example blue for gm name
how to make it ? :mrgreen:

Umm, GM names should already be blue only if the actual in-game name is,for example, [GM]Circa, then it should appear blue to everyone in game.

If you're trying to add like [DEV]Circa to appear red, or a different color, then you have to edit the client to recognize that.

A good tutorial was from someone named xPanda i believe, look him up on here in members section, and look through his post.
Circa
Clown
Clown
 
Posts: 404
Joined: Sun Aug 23, 2009 5:52 am
Location: CA

Re: [devRev4] Status/Regeneration timers are broken.

Postby kismetbecomes on Fri Apr 19, 2013 8:00 am

Rakoon wrote:
  1. //Good version?
  2.                             if(useitem->itemnum==200||useitem->itemnum==948||useitem->itemnum==1303)
  3.                             {
  4.                                 //valid until logout (limit to one hour)
  5.                                 thisclient->once=false;
  6.                                 //thisclient->timerxp=clock()+60*60*1000;  //1 hour
  7.                                 thisclient->timerxp=time(NULL)+60*60;  //1 hour
  8.                                 Log(MSG_INFO,"Bonus XP to %i",thisclient->bonusxp);
  9.                                 BEGINPACKET( pak, 0x702 );
  10.                                 ADDSTRING( pak, "The effect will hold until you log off or you play for one hour." );
  11.                                 ADDBYTE( pak, 0 );
  12.                                 thisclient->client->SendPacket(&pak);
  13.                             }
  14.                             else if (useitem->itemnum==199)
  15.                             {
  16.                                 //30 minutes.
  17.                                 //valid until logout
  18.                                 thisclient->once=true;
  19.                                 thisclient->timerxp=time(NULL)+30*60;  //1 hour
  20.                                 //Log(MSG_INFO,"Bonus XP to %i",thisclient->bonusxp);
  21.                                 BEGINPACKET( pak, 0x702 );
  22.                                 ADDSTRING( pak, "The effect will hold until you log off or you play for 30 minutes." );
  23.                                 ADDBYTE( pak, 0 );
  24.                                 thisclient->client->SendPacket(&pak);
  25.                             }
  26.                             else if(useitem->itemnum==203)
  27.                             {
  28.                                 //3 days, will "resist" to logout ;)
  29.                                 //thisclient->timerxp=clock()+86400*1000;
  30.                                 thisclient->timerxp=time(NULL)+86400*3;
  31.                                 thisclient->once=false;
  32.                                 //Log(MSG_INFO,"Bonus XP to %i",thisclient->bonusxp);
  33.                                 BEGINPACKET( pak, 0x702 );
  34.                                 ADDSTRING( pak, "The effect will hold 3 days." );
  35.                                 ADDBYTE( pak, 0 );
  36.                                 thisclient->client->SendPacket(&pak);
  37.                             }
  38.                             else
  39.                             {
  40.                                 //1 day, will "resist" to logout ;)
  41.                                 //thisclient->timerxp=clock()+86400*1000;
  42.                                 thisclient->timerxp=time(NULL)+86400;
  43.                                 thisclient->once=false;
  44.                                 //Log(MSG_INFO,"Bonus XP to %i",thisclient->bonusxp);
  45.                                 BEGINPACKET( pak, 0x702 );
  46.                                 ADDSTRING( pak, "The effect will hold 24 hours." );
  47.                                 ADDBYTE( pak, 0 );
  48.                                 thisclient->client->SendPacket(&pak);
  49.                             }
  50.                         }
  51.                         else
  52.                         {
  53.                             //LMA: Player already has a medal exp.
  54.                             BEGINPACKET( pak, 0x702 );
  55.                             ADDSTRING( pak, "You already have an exp bonus." );
  56.                             ADDBYTE( pak, 0 );
  57.                             thisclient->client->SendPacket(&pak);
  58.                             return NULL;
  59.                         }
  60.  
  61.                     }
  62.                     break;


i check those code it should be for 30 min bot 1 hours when already used it in the game it will stay for 4 months :shock:


we should change the number to just make it for 30 min ?


2 silly Questions

i want to change the color name ingame like example blue for gm name

how to make it ? :mrgreen:



Are far as I' am aware of MrGreen, only the client timers are broken, and the server timer are working just the way it should. So, there are no problems with this code (I believe.). The problem is how the client INTERPRETS the timer values inside the list_useitem.stb for the return scrolls. NaRose changed their timer calculation/formula, and that, we don't understand yet.
RoseZa v437 - HueRose Test Project -- http://hueroseonline.no-ip.biz
kismetbecomes
Rackie
Rackie
 
Posts: 299
Joined: Mon Feb 06, 2012 12:41 am

Re: [devRev4] Status/Regeneration timers are broken.

Postby Rakoon on Sat Apr 20, 2013 5:50 pm

yea its works now i thinks i can see my name blue but i can't just the other palyer can see that :mrgreen:



then what we will do with that ?

i see only rose online have many problems, i mean manythings need to mange, time , balance, the new mounts crash if any user lvl 100 try it only 299 ( admin np ) mamouth is buggy , Orlo still not 100% ready i can sayed its only 85% , still item mall doesnt works ingame and lucky spin, Sometime thinking its that much hards to mange this or nobody want to share it or where is the missing parts :?:
Rakoon
Rackie
Rackie
 
Posts: 204
Joined: Sat Oct 20, 2012 5:49 am

Re: [devRev4] Status/Regeneration timers are broken.

Postby kismetbecomes on Sun Apr 21, 2013 4:09 am

Rakoon wrote:yea its works now i thinks i can see my name blue but i can't just the other palyer can see that :mrgreen:



then what we will do with that ?

i see only rose online have many problems, i mean manythings need to mange, time , balance, the new mounts crash if any user lvl 100 try it only 299 ( admin np ) mamouth is buggy , Orlo still not 100% ready i can sayed its only 85% , still item mall doesnt works ingame and lucky spin, Sometime thinking its that much hards to mange this or nobody want to share it or where is the missing parts :?:


I don't know... but, I totally have my highest respect to the RoseZa team for releasing this work. We cannot just always sit around, do nothing and wait for people to work for a rev - then complain of how it currently is - sometimes we need to be part of the community who gives time to fix the problems and learn a little. That is my opinion.

If you are looking for a stable emu then you should try KtRose by PY. It's the most stable as far as I know.
RoseZa v437 - HueRose Test Project -- http://hueroseonline.no-ip.biz
kismetbecomes
Rackie
Rackie
 
Posts: 299
Joined: Mon Feb 06, 2012 12:41 am

Re: [devRev4] Status/Regeneration timers are broken.

Postby PurpleYouko on Mon Apr 22, 2013 2:18 pm

There are still a few minor bugs in KT and some unfinished stuff in the client files. The client needs a lot of tidying up. I never finished it off.

the only real nasty bug is related somehow to clans. It locks up the server when players try to use clan controls.
I haven't been able to track down and squash that one yet.
Other bugs are minor visual stuff though.

As for roseZA
we had a completely perfect server at one point (don't even remember which client version) then we made the mistake of trying to keep up with changes made at the NARose server. Within 2 weeks we were back at square one with all these timer changes.
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: [devRev4] Status/Regeneration timers are broken.

Postby kismetbecomes on Mon Apr 22, 2013 4:03 pm

PurpleYouko wrote:There are still a few minor bugs in KT and some unfinished stuff in the client files. The client needs a lot of tidying up. I never finished it off.

the only real nasty bug is related somehow to clans. It locks up the server when players try to use clan controls.
I haven't been able to track down and squash that one yet.
Other bugs are minor visual stuff though.

As for roseZA
we had a completely perfect server at one point (don't even remember which client version) then we made the mistake of trying to keep up with changes made at the NARose server. Within 2 weeks we were back at square one with all these timer changes.


If I get my hands free from my stuffs I would really check KT out the finish it off (still with your help and guidance of course!) :lol: It's a bummer this place don't have a perfect client after so many years of coding and editing and stuff. :?

I'm guessing you perfected an emu somewhere in rev2-rev3 and client 306-307?
RoseZa v437 - HueRose Test Project -- http://hueroseonline.no-ip.biz
kismetbecomes
Rackie
Rackie
 
Posts: 299
Joined: Mon Feb 06, 2012 12:41 am

Re: [devRev4] Status/Regeneration timers are broken.

Postby Rakoon on Mon Apr 22, 2013 5:15 pm

kismetbecomes wrote:
Rakoon wrote:yea its works now i thinks i can see my name blue but i can't just the other palyer can see that :mrgreen:



then what we will do with that ?

i see only rose online have many problems, i mean manythings need to mange, time , balance, the new mounts crash if any user lvl 100 try it only 299 ( admin np ) mamouth is buggy , Orlo still not 100% ready i can sayed its only 85% , still item mall doesnt works ingame and lucky spin, Sometime thinking its that much hards to mange this or nobody want to share it or where is the missing parts :?:


I don't know... but, I totally have my highest respect to the RoseZa team for releasing this work. We cannot just always sit around, do nothing and wait for people to work for a rev - then complain of how it currently is - sometimes we need to be part of the community who gives time to fix the problems and learn a little. That is my opinion.

If you are looking for a stable emu then you should try KtRose by PY. It's the most stable as far as I know.



Dont get me wrong of course we thanks Roseza team for very nice releasing , But i mean we should works hards more to make it ready, each one should do anythings he can do :mrgreen:

i try to keep the clients links up also now i will share my editor cms here and make sure its clean secure i try from my side that what i can do also i will try to know 3D max to create some custome to sets lol this is my plane.

yea KTRose is very nice Release i thinks PY did very great works on it as he sayed still need to mange somethings on it :D


if anybody wana to test it from here

www.rose-world.org

what i will add forget passwords some nice edit on it soon also, then i will post a new thread with how to install it in database
Rakoon
Rackie
Rackie
 
Posts: 204
Joined: Sat Oct 20, 2012 5:49 am

PreviousNext

Return to Support - OsRose Emulator

Who is online

Users browsing this forum: Google [Bot] and 12 guests

cron