Jump to content

Winterfox

Members
  • Content Count

    403
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by Winterfox

  1. Try this one: http://pastebin.com/u23SdHXd . If you still get errors, don't close the server window and post what errors you get while executing the npc.
  2. But for example there is a character that is 99/69 with 0% job exp and in the database under the column job exp there is 0, so I believe is correct right? There is no reason to doubt what Garr said.
  3. @@Garr Nope, i didn't think that the exp get reset every level up.
  4. Try this one http://pastebin.com/VYy5uYis . OnMinute14 should start it every hour at minute 14.
  5. Well, it really looks quiet suspicious that some gm changed the level via commands. Did you check the logs to make sure that is not the case? To be honest, i have never seen something like that before.
  6. Mapannounce also needs to be lowercase.
  7. Did you check if you accidently put a transparent gap in the button while editing it?
  8. @@criseleusis Do you keep your server window open? The npcs give error messages while the server runs. Usually if you don't get errors at server startup, it will show you the error, when you call the npc.
  9. The only thing i get is a warning that the NPC name is longer than 24 signs and gets truncated.
  10. I can confirm that, i have this error too with a client from 13.05.2015. Seems to be visual only though. I didn't see any weird behaviour besides that aspect.
  11. @@criseleusis You could go for different approaches, you also could simply check if the character used all his status points before beeing able to get to his nex class with: if( SkillPoint > 0 ) {mes "Please spend all your skill points first.";close;} Weirdly though your npc has this check allready, but somehow it doesn't seem to trigger correctly, when you get the problem you wrote about. SkillPoint allways holds the number of unused skill points of a character. You also can change SkillPoint by setting it to a different value. You also could reset the status points after the job change so that they can be spent again: resetskill; Be careful with that though: This command takes off all the skill points on the invoking character, so they only have Basic Skill blanked out (lvl 0) left, and returns the points for them to spend again. Nothing else will change but the skills. Quest skills will also reset if 'quest_skill_reset' option is set to Yes in 'battle.conf'. If the 'quest_skill_learn' option is set in there, the points in the quest skills will also count towards the total.
  12. @@criseleusis You are welcome if you have any questions regarding scripting, you can ask me anytime.
  13. @@classy5 Nearly all fields are named Sograt Desert in the Morocc area.
  14. I recommend you to be more specific. There are far to many questions open to really help you out. NPC 1: What questions? What are the answers? Should you select answers from a menue or input them via keybord? If via menu what other answer options are there? What dialog shall there be? What reward do you want it to give? Which sprite? NPC 2: From where to where? What dialog? Which sprite? In which time do you have to make it? Is teleporting allowed? NPC 3: What is the dialog? Which sprite? To which job shall it change you?
  15. I think the thing is that /theme/main/index.php is included in the index.php in the root directory which allready outputs content before the call of the header function which is called by $this->redirect(); Maybe this helps you: http://www.tech-recipes.com/rx/1489/solve-php-error-cannot-modify-header-information-headers-already-sent/
  16. I did not get you. what do you mean? I tried PlugNplay's free theme and found out that this error is not causing by the theme but the CMS addon from rAthena When you add this to /theme/main/index.php <?php if (!defined('FLUX_ROOT')) exit; $this->redirect($this->url('news','view')) ?> that warning will show. Could you copy paste the content of the file? Best would be pastebin and post the link?
  17. @@Ranz I decided to release some scripts i did for free. You can get the Daily Beach Clean Quest here: https://github.com/Reilaen/NPC-Releases/blob/master/beach_clean_quest.txt
  18. Usually that is because you output something before the header() function of php.
  19. Hi everyone, i want to share a script with you that i made some days ago. It is a daily quest that involves around gathering items to make a broom and clean dirt from a beach for a reward. For a broom you need the following items: 120 Tough Vines 4 Aloe Leaflet 4 Soft Blade of Grass It gives following rewards upon completing the quest: 10% - Beach Manteau and 250,000 Experience 10% - Beach Sandals and 150,000 Experience 20% - Fruit Mix and 250,000 Experience 30% - Fruit Mix and 150,000 Experience 30% - Fruit Mix and 50,000 Experience You can find the source here: https://github.com/Reilaen/NPC-Releases/blob/master/beach_clean_quest.txt NOTES: Since i get ridiculously accused of "get rich quick schemes" by Emistry for using a linbucks link to get a little bit of money for each click so you the community and i have both something of this free release, please consider donating me a small amount if you really like this npc. I will only will fix bugs that are issued on github. Custom changes are only done for pay based on my service conditions that are described here.
  20. @@snowflake1963 Do you have the pet leveling enabled? What emulator are you using? Did you have some source changes for the pets? Maybe you overwrote some config or custom change in the source?
  21. That is how i would do what you want: http://upaste.me/c30e21142d8a01da3 Maybe it helps you a bit.
  22. Hi, on line 13 you are missing a comma between "Hatii" and mvp_hatii. on line 16 you are missing a comma at the end of "Freeoni",mvp_freeoni. Some of the mob definitions after line 328 have spaces instead of tabs between them. Your npc warps to "pvp_n_" is that on purpose? Since the monsters seem to be spawned on different maps with different numbers, like pvp_n_1-3 for example.
  23. @@criseleusis On my test server i got some small errors, you can get my fixed version from here: http://upaste.me/aafc211400c8ce2e0 with those changes it seems to work. Also note if you use the hercules emulator, the use of menu is deprecated and it's recommend to use select or prompt instead.
  24. The issue is the reload of the npc after a warp, a possible workaround is this: FishPond, 63, 46, 6 script WarpTest 555,{ mes "I Will warp you!"; close2; charTeleported = 1; warp "FishPond", 64, 42; end; OnPCLoadMapEvent: if( !charTeleported ) end; charTeleported = 0; mes "So what happens here?"; switch(select("Something:Something else")) { case 1: mes "And now?"; close; break; case 2: mes "Menu option 2"; close; break; } end; OnInit: setmapflag "FishPond", mf_loadevent; end;}
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.