Jump to content

PandaLovesHamster

Members
  • Posts

    452
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by PandaLovesHamster

  1. Were there any map server errors during execution of the script? Perhaps during the spawning of the treasure box maybe?
  2. Data.grf is the first one you need to remove. NO I AM JOKING, DONT. Anyways, leave it as is. All you need to do is: 1. Install your desired Private Server in a separate folder 2. Copy data.grf 3. Paste data.grf into Private Server Folder 4. Run your server patcher 5. Play the game
  3. https://rathena.org/board/topic/64394-%E2%9C%B0-euphys-scripts-%E2%9C%B0/ Check out Euphy's Quest Shop.
  4. -<tab>script<tab>name<tab>-1,{ ... }
  5. Actually happened to me once in a server a player mysteriously managed to get 2,000 MVP Points while doing nothing. Or so we though since he was buying stuff from the MVP Shop with OnBuyItem label... this should be checked. No idea if it's the same issue as mine, but its worth looking at.
  6. You can use this one instead. //===== 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 3 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: addtimer .timer,"hourlypoints::OnPointGet"; dispbottom "Hourly points have started."; end; OnPointGet: while(checkvending() >= 1 || checkchatting() == 1 || checkidle()>=.dlimit) { sleep2 .delay; if(.@mes$=="") dispbottom set(.@mes$,"The hourly points event halted because you were vending, chatting, or idle."); } set #KPoints, #KPoints + .point_amt; dispbottom "You received "+.point_amt+" Kaitus Points by staying online for an hour"; dispbottom "Current Balance = "+#KPoints+" Kaitus Points"; set @consecutive_hour, @consecutive_hour + 1; //Check for 4 hours consecutive if(@consecutive_hour == 4) { set @consecutive_hour,0; set #KPoints, #KPoints + .cpoint_amt; dispbottom "You receive "+.cpoint_amt+" Kaitus Points in playing for 4 consecutive hours"; dispbottom "Current Balance = "+#KPoints+" Kaitus Points"; } addtimer .timer,"hourlypoints::OnPointGet"; end; OnInit: set .timer, 1000*60*60; //Timer in milliseconds. set .cpoint_amt, 100; //Points gained for consecutive time online. set .point_amt, 20; //Normal points gained. set .delay, 1000; //Delay for idle re-check check. set .dlimit, 60*40; //Stop points if afk greater then in seconds. } Basically does the same thing and slightly more pleasant in terms of reading the script. And less use of labels too.
  7. -<tab>script<tab>npc_name<tab>npc_sprite_id,{ ... }
  8. I didn't saw your post, sorry :c Yes, was that. Emistry's code should work this way. You just create an NPC where they can turn the variable on or off.
  9. So basically it's an announcer that can be turned on and off by the players? It's up to the players if they want to see the announces or not?
  10. Oh my bad. Insert this code on just under OnPCLoad... if(strcharinfo(3) != "job_sword1" || strcharinfo(3) != "arena_room"){ end; } You might have a running OnPCLoadMapEvent active somewhere else and is affecting that script.
  11. - script GMBlock -1,{ OnPCLoadMapEvent: if(getgmlevel() == 60 || getgroupid() > 5){ dispbottom "You can't enter this map."; warp "prontera",0,0; } end; OnInit: setmapflag "job_sword1",mf_loadevent; setmapflag "arena_room",mf_loadevent; end; } Fixed it up for you. Try that now.
  12. - GMBlock -1,{ OnPCLoadMapEvent: if(getgmlevel() == 99 || getgroupid() > 5){ dispbottom "You can't enter this map."; warp "prontera",0,0; end; OnInit: setmapflag "map_here",mf_loadevent; end; } Untested and lazily made. Try to check if it works.
  13. Kuha ka ng server galing SG, yun yung pinaka mabilis at low ping galing sa Pinas. Or kuha ka static IP sa ISP mo tapos ikaw na mismo mag host ng server, 24/7 naka on PC mo. Hmm side note, not sure kung enabled ba port forwarding ng PLDT.
  14. Thank you for replying Instead of the highest damage i think ill just put it as a MvP Reward )(kinda same i guess) You can try adding items on mob_db.txt of that certain monster, put them under the MVP drop column.
  15. Freebies NPC - Version 3 GM Support NPC PVP/GVG Event Starter Guild Registration / Guild Limiter Background Music NPC Monster Geffen Race Sure +10 Refiner - All items except Accessories For Sale Scripts
  16. It's probably client problems then. Suggest using 2012 to read those sprites properly or something.
  17. Solution: Turn off Euphy's WoE Controller set up that says you can't warp to inactive castles.
  18. It's working fine for me now. Used the same code, just fixed something else on SRC. Works okay in the script. I tried to add it, and ended up with the same output. Works fine as well. I was surprised it worked too since the code just slipped off me since i code using c++ normally, and ended up doing .@i++ lol
  19. Something like this. itemmall,18,62,4<TAB>pointshop<TAB>Upper Headgear<TAB>112,#POINTS_HERE,30855:10000,30854:3000,30853:3000 Read the link given by Emistry and see the format.
  20. For some reason the other npc detects the boss monster quite nicely. In fact even if I reload or something, the npc can tell if the boss is dead or alive, but this global one for some reason doesn't work. I'll try to disable dynamic mob. I will see if it works properly.
  21. - script Convex -1,{ setarray .boss_map$,"pay_dun04", "xmas_dun02", "xmas_fild01", "gl_chyard", "gl_cas02", "prt_maze03", "prt_sewb4", "mjolnir_05", "gef_dun02", "gef_dun03", "anthell01", "anthell02", "in_sphinx5", "pay_fild10", "moc_pryd04", "ama_dun03", "orcsdun02", "gef_fild14", "tur_dun04", "treasure02", "moc_pryd06"; setarray .boss_mob$,"Moonlight Flower", "Stormy Knight", "Garm", "Dark Lord", "Baphomet", "Baphomet", "Golden Thief Bug", "Mistress", "Doppelganger", "Dracula", "Phreeoni", "Maya", "Pharaoh", "Eddga", "Osiris", "Samurai Specter", "Orc Lord", "Orc Hero", "Turtle General", "Drake", "Amon Ra"; mes "[ Convex Handler ]"; for(set .@i,0;.@i < getarraysize(.boss_map$); .@i++){ if (mobcount(.boss_map$[.@i], .boss_mob$[.@i]+"#boss::OnMVPDead") > 0) { mes "^008000"+.boss_mob$[.@i]+" is alive! ^000000"; } else { mes "^FF0000 "+.boss_mob$[.@i]+" is dead. ^000000"; } } close; } I'm using this to check if my MVPs are dead or alive. The thing here is, when I talk to the npc, it will ways display that the mob is dead. When I warp to the map(mvp map), for instance pay_dun04, and talk to the NPC again, it will display the information correctly this time. My other npc that checks for the status of the MVP works perfectly fine but it is limited to the map in which where the mvp is. Can someone point out why this is happening?
  22. Solved. .@make = .@bottle / .@herb; Thanks to benching.
  23. atcommand "@blvl 1 "+strcharinfo(0);
  24. add atcommand "doommap"; on default: prontera...{ if(getgmlevel() >= 99){ goto GMMenu; } switch(...){...} GMMenu: mes "Reset?"; menu "Yes",-; set .winner_count,0 close; end; }
×
×
  • Create New...