Jump to content

Virtue

Members
  • Posts

    354
  • Joined

  • Days Won

    6

Everything posted by Virtue

  1. - script FloatingRates -1,{ OnPCLoginEvent: OnPCLogoutEvent: if (getusers(1) >= 5) { if (getbattleflag("base_exp_rate")==10000 && getbattleflag("job_exp_rate")==10000) { set $@brate,rand(15000,30000); set $@jrate,rand(15000,30000); set $@drate,2000; setbattleflag "base_exp_rate", $@brate; setbattleflag "job_exp_rate", $@jrate; atcommand "@reloadmobdb"; announce "Current floating rates are: "+($@brate/100)+"x"+($@jrate/100)+"x"+($@drate/100)+"x",bc_blue|bc_all; } } else if (getusers(1) < 4) { if (getbattleflag("base_exp_rate")>10000 || getbattleflag("job_exp_rate")>10000) { set $@brate,10000; set $@jrate,10000; set $@drate,2000; setbattleflag "base_exp_rate", $@brate; setbattleflag "job_exp_rate", $@jrate; atcommand "@reloadmobdb"; announce "Current normal rates are: "+($@brate/100)+"x"+($@jrate/100)+"x"+($@drate/100)+"x",bc_blue|bc_all; } } end; } how do i add a dialog npc that shows the status of this script? and why is it that only base and job battleflags are set? thanks
  2. Virtue

    Question.

    can i make a function script that announces certain items when they are looted? and how? just for some specific items. thanks.
  3. I just want to share my flux design. This is my first attempt. It'll help a lot if you rate and comment about it. I'm just starting to learn about flux integration and designing. Thanks!! Feedbacks and Comments will be greatly appriciated.
  4. any other suggestions? i am trying that now. or if i could just add a timer to npc, if there is a way. you can't talk to the npc for one whole hr after you talked to it.
  5. http://pastebin.com/m8mrZxSB here. done. but better try it first. since im not so sure about that, )) mine is not working properly.
  6. I want to make a Hourly Quests NPC, but I don't know where to start, could anybody help me, I want to make it a chain quests talking to NPC's.
  7. //===== Hourly Points Script ========================================= //===== By: ========================================================== //= GorthexTiger modified by Nibi //===== Current Version: ============================================= //= 1.0 //===== Compatible With: ============================================= //= Any eAthena Version //===== Description: ================================================= //= Get Points every successful hours of gameplay, you cannot get //= the points even if you miss a second or a minute. A player will //= get a very big bonus if they played 12 hours consecutively //= or without logging out of the game. If the player is vending //= the script will then stop. //===== Additional Comments: ========================================= //= You can modify the script to your liking. //= The default points is Kafrapoints change it anyway if you like. //= 1.1 = Check Chatting too //= 1.2 = 5 Minute Idle Check & @at/@autotrade check. //= 1.3 = Corrected the current balance line on 12 Hours Consecutive //==================================================================== - script hourlypoints -1,{ //--Start of the Script OnPCLoginEvent: attachnpctimer ""+strcharinfo(0)+""; initnpctimer; end; OnTimer30000: //Check if Vending (normal or @at) if(checkvending() >= 1 || checkchatting() == 1) { dispbottom "The Hourly Rewards event stopped because you were vending / chatting. Please relog if you wish to start again."; stopnpctimer; end; } //Check if Idle getmapxy( .@map$, .@x, .@y, 0 ); if(@map$ == .@map$ && @x == .@x && @y == .@y) { set @afk, @afk + 1; } //If move timer resets else { set @afk, 0; } set @map$, .@map$; set @x, .@x; set @y, .@y; //Idle Check for 5 Minutes if(@afk == 5) { dispbottom "The Hourly Rewards event stopped because you were idle for 5 minutes. Please relog if you wish to start again."; stopnpctimer; end; } end; OnTimer60000: set @minute, @minute + 1; //Check for 1 Minute if(@minute == 60){ set @minute,0; set .@item_amt, 1; //Points to get every hour (default: 10) getitem 7227,.@item_amt; dispbottom "You received "+.@point_amt+" [i]<7227's displayname>[/i] by staying ingame for 1 hour"; } //Check for 6 hours consecutive if(@consecutive_hour == [b][i]6[/i][/b]) { set @consecutive_hour,0; set .@item_amt, 1; //Points to get for 6 Consecutive hours (default: 50) getitem 7185,.@item_amt; dispbottom "You receive "+.@item_amt+" [i]<7185's displayname>[/i] in playing for 6 consecutive hours"; } stopnpctimer; initnpctimer; end; } //--End of the Script @Paulinds try that
  8. does this script stop automatically when you go to gvg maps? or something like that? some of my players complain that their hourly points stops, but mostly it works fine.
  9. alright thanks a lot emistry. always a big help, gonna search for it.
  10. will you release it for publick jaypee or only for the paid?
  11. How or what do i need to make seperate woe's for babies,trans classa nd 3rd jobs?
  12. help with this script Not Giving Hourly points. //===== Hourly Points Script ========================================= //===== By: ========================================================== //= GorthexTiger modified by Nibi //===== Current Version: ============================================= //= 1.0 //===== Compatible With: ============================================= //= Any eAthena Version //===== Description: ================================================= //= Get Points every successful hours of gameplay, you cannot get //= the points even if you miss a second or a minute. A player will //= get a very big bonus if they played 12 hours consecutively //= or without logging out of the game. If the player is vending //= the script will then stop. //===== Additional Comments: ========================================= //= You can modify the script to your liking. //= The default points is Kafrapoints change it anyway if you like. //= 1.1 = Check Chatting too //= 1.2 = 5 Minute Idle Check & @at/@autotrade check. //= 1.3 = Corrected the current balance line on 12 Hours Consecutive //==================================================================== - script hourlypoints -1,{ //--Start of the Script OnPCLoginEvent: attachnpctimer ""+strcharinfo(0)+""; initnpctimer; end; OnTimer30000: //Check if Vending (normal or @at) if(checkvending() >= 1 || checkchatting() == 1) { dispbottom "The hourly points event stopped because you were vending / chatting. Please relog if you wish to start again."; stopnpctimer; end; } //Check if Idle getmapxy( .@map$, .@x, .@y, 0 ); if(@map$ == .@map$ && @x == .@x && @y == .@y) { set @afk, @afk + 1; } //If move timer resets else { set @afk, 0; } set @map$, .@map$; set @x, .@x; set @y, .@y; //Idle Check for 5 Minutes if(@afk == 5) { dispbottom "The hourly points event stopped because you were idle for 5 minutes. Please relog if you wish to start again."; stopnpctimer; end; } end; OnTimer60000: set @minute, @minute + 1; //Check for 1 Minute if(@minute == 60){ set @minute,0; set .@point_amt, 1; //Points to get every hour (default: 10) set #CASHPOINTS, #CASHPOINTS + .@point_amt; dispbottom "You received "+.@point_amt+" Cashpoints by staying ingame for 1 hour"; dispbottom "Current Balance = "+#CASHPOINTS+" Cashpoints"; set @consecutive_hour, @consecutive_hour + 1; } //Check for 12 hours consecutive if(@consecutive_hour == 12) { set @consecutive_hour,0; set .@cpoint_amt, 5; //Points to get for 12 Consecutive hours (default: 50) set #CASHPOINTS, #CASHPOINTS + .@cpoint_amt; dispbottom "You receive "+.@cpoint_amt+" Cashpoints in playing for 12 consecutive hours"; dispbottom "Current Balance = "+#CASHPOINTS+" Cashpoints"; } stopnpctimer; initnpctimer; end; } //--End of the Script
  13. is there a brief intro or guide to flux integration? im just wondering.
  14. i'll have to check on that, where do i exactly edit or what do i exactly have to do with my lua files. thanks anyways. i'll post again if i haven't done any progress. thanks
  15. i did that but. nothing happened with that anyway here's what i did
  16. well other than that? for example i only want to change my def from pre-re to re.
  17. is that a source edit or there isn't a way to do that manualy?
  18. how can i put trans skills on baby jobs? thanks.
  19. I did something with mine a while back, i'll try to remember what, if what i remember is correct, i didn't do/add anything at the src files, but instead in the conf files. high luk & vit reduces the frost duration.
  20. Where do I edit the Hit rate given by dex, flee given by agi and luk? thanks in advance,..
  21. thanks, i got something useful tho i still can't fix what i am fixing.
  22. I've Tried to change it in the skill_db but it does'nt work, so where do else I change it?
  23. alright, because last time i used OnClock igot an error but ill check it again later thanks
  24. 3 on what? actually the mobs aren't spawning too.
×
×
  • Create New...