Jump to content

tedexx

Members
  • Content Count

    79
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by tedexx

  1. https://github.com/HerculesWS/Hercules/blob/e9daf0e172d5441ec6d264b4056db4f7f3e5780a/doc/item_db.txt#L74 Its on item_db now. DropAnnounce: true/false (boolean, defaults to false) DropAnnounce: Enables global announcement of the selected item when dropped by monster.
  2. Trying to add support for navigateto() for custom maps (or even officials that doesnt have), but nothing. Already ran the naviluagenerator plugin by Haru (output successfully) and still nothing. Anyone knows what the exact lua files (and format) I need to modify to add a map to use in navigateto() or <NAVI>?
  3. Read the post, man. Couple posts above you can see the solution.
  4. I manage fix the problems above. Got the newest kRO grf and worked just fine. (not sure why a fresh and fully updated iRO grf wanst working tho) Having problem with hair palettes now, the files are found and loaded, but not applied to the hair. Any sugestions? (cloth palettes are fine)
  5. Checked know, every single grf loaded is 0x200. About the black head, its happening even using multiples grfs.
  6. got a fresh copy of ROCharGenPHP from KeyWorl, but having some problems with file loading from grf. I'm loading the same GRF I use in the game (and even checked with GRF Editor to make sure the files were there, and it was), but ROCharGen cant load the files. I tried with other grfs, same results. Using full updated iro grf. Every file the script acuse to not found, I checked and exists. Same path. /avatar/tedex - rendering avatar /monster/1002 - rendering a poring Tested with multiples grfs, was able to load some files but got some other error.
  7. Those are not errors. You compiled successfully.
  8. Can you post the problem? If is the missing parameter problem for quest->add (line 1652 and line 2991) you can simply add 0 as the last parameter and it'll work just fine. quest->add(sd, quest_id, 0)
  9. It seems that the file was not approved, but it also seems that Dastgir has already a working version. Try it out.
  10. - script autoCommand FAKE_NPC,{ end; OnPCLoginEvent: atcommand("@commands"); end; }
  11. *freeloop(<toggle>) Toggling this to enabled (true) allows the script instance to bypass the infinite loop protection, allowing your script to loop as much as it may need. Disabling (false) may warn you if an infinite loop is detected if your script is looping too many times. Please note, once again, that this isn't a solution to all problems, and by disabling this protection your Hercules server may become laggy or unresponsive if the script it is used in is performing lenghty loop operations. Example: freeloop(true); // enable script to loop freely //Be aware with what you do here. for (.@i = 0; .@i < .@bigloop; ++.@i) { dothis(); // will sleep the script for 1ms when detect an infinity loop to // let Hercules do what it need to do (socket, timer, process, // etc.) } freeloop(false); // disable for (.@i = 0; .@i < .@bigloop; ++.@i) { dothis(); // throw an infinity loop error } Add freeloop(true) to the beginning of your script.
  12. Nope, something like calculate the % of EXP a quest will give for the current basejob, or anything slightly more complex. It will always exists a workaround, but with float would be so much simpler.
  13. Whats the best way to make an operation using floating values?
  14. https://github.com/HerculesWS/Hercules/commit/1b0d3bd8f84db5b471646e0404193759afb908db
  15. You can simply do showevent(QTYPE_NONE); after you gave the quest. If what you want is the default behavior of quests, you should use questinfo() on OnInit event. *questinfo(<Quest ID>, <Icon> {, <Map Mark Color>{, <Job Class>}}) This is esentially a combination of questprogress() and showevent(). Use this only in an OnInit label. For the Quest ID, specify the quest ID that you want checked if it has been started yet. For Icon, use one of the following: No Icon : QTYPE_NONE ! Quest Icon : QTYPE_QUEST ? Quest Icon : QTYPE_QUEST2 ! Job Icon : QTYPE_JOB ? Job Icon : QTYPE_JOB2 ! Event Icon : QTYPE_EVENT ? Event Icon : QTYPE_EVENT2 Warg : QTYPE_WARG Warg Face : QTYPE_WARG2 (Only for packetver >= 20120410) Map Mark Color, when used, creates a mark in the user's mini map on the position of the NPC, the available color values are: 0 - No Marker 1 - Yellow Marker 2 - Green Marker 3 - Purple Marker When a user shows up on a map, each NPC is checked for questinfo that has been set. If questinfo is present, it will check if the quest has been started, if it has not, the bubble will appear. Optionally, you can also specify a Job Class if the quest bubble should only appear for a certain class. Example izlude,100,100,4 script Test 844,{ mes("[Test]"); mes("Hello World."); close(); OnInit: questinfo(1001, QTYPE_QUEST, 0, Job_Novice); end; }
  16. mes("You can <URL>Google<INFO>http://www.google.com/,800,600</INFO></URL> anything");
  17. Can be done with showevent() or questinfo(). Using showevent you have more control of the behavior. prontera mapflag loadevent prontera,150,150,3 script showevent 4_F_BRZ_WOMAN,{ end; OnPCLoadMapEvent: if(strcharinfo(3) == strnpcinfo(4)) { .@questInProgress = 1; showevent(.@questInProgress ? QTYPE_QUEST : QTYPE_NONE); } end; } If you dont succeed post it here, I 'll help you.
  18. The announces are on purpose, you can change the timing in the bg_common.txt script. at which part? bg_common.txt line 151 // Rotate every n seconds. OnTimer5000: Being 5000 the miliseconds of rotation and announces
  19. The announces are on purpose, you can change the timing in the bg_common.txt script.
  20. What error? Post the message here. I'm compiling with latest herc and its all good.
  21. Awesome, Smoke! I'm not home but tested Rush and it seems to be all good, the map crash is gone. I'll update here later on when test everything. Here some minor issues I found so far: 1) The first error was fixed in a pr I made some weeks ago and you merged, must have come back unintentionally. When I get home I'll pull another one. 2) 3) (no prints): @stopbg - after stopping it will not start again and throws this error. The same occurs if all players leave a bg (everyone logouts) [Error]: Memory manager: freed-data is changed. (freed in \$PATH\server\src\common\hpm.c line 342) [Info]: buildin_setbattleflag: battle_config flag 'battle_configuration/hBG_enabled' is now set to '0'. [Info]: buildin_setbattleflag: battle_config flag 'battle_configuration/hBG_enabled' is now set to '1'. When I get home I'll try to debug and push something to help you, seems to be pretty simple things.
  22. i typed in useradd and passwd to create new users in the command line but i guess i did not work for me cause it did nothing. For mysql, everything did not work like creating new database, creating new database username and password, and grant privileges. one more question: should i use putty or winscp setting up the server side? Putty is fine. About users: Which tutorial are you using? Did you added with "chown"? To check if the user was added type "compgen -u | grep $username_you_chose" - if return the name you typed the user exists. About mysql: dump the errors here.
×
×
  • Create New...

Important Information

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