Jump to content

bWolfie

Members
  • Content Count

    850
  • Joined

  • Last visited

  • Days Won

    34

Everything posted by bWolfie

  1. very nice not noob like @Habilis
  2. Good stuff guys. Keep up reporting issues in an orderly manner.
  3. Hopefully people can help improve this in a positive way.
  4. What are you trying to achieve? I don't quite understand.
  5. You need to check 'sd' is not NULL first. so like if (sd != NULL && sd->sc.data[SC_SOULLINK] && sd->sc.data[SC_SOULLINK]->val2 == SL_HUNTER) If you have edited other source code, you will need to check it for all sorts of stuff isn't using null pointer. E.g. sc != NULL, tsd != NULL, etc.
  6. Use git to clone my repo or just click the link and copy the code lol.
  7. your plugin is outdated. go download updated version.
  8. Description: Adds the check_resist() script command to your script engine. With this command, you can retrieve elemental resistances for a character. check_resist(<type>{, <account id>}) e.g. check_resist(Ele_Water); check_resist(Ele_Wind, getcharid(CHAR_ID_ACCOUNT)); https://github.com/bWolfie/HPM-Plugins/blob/master/src/plugins/check_resist.c
  9. No offence to the creator Smoke, as he did a great effort putting this all together, but there are outstanding issues which make it not possible to use in a production server. Being curious, just did some more testing with it, and the guild system (I believe that's what causes it) actually creates this issue where sometimes the sword cursor doesn't appear (need to refresh to get it to show, seems random chance it actually appears), meaning your players would need to have /ns activated all the time to play. So please, any future posters - unless you know how to edit the plugin (and therefore source code) itself, don't download it. And nobody request support as nobody is going to help you.
  10. under version I already link the code it is sourced from also rathena noob. moreso than habnoobis. use herc. thank.
  11. wow looks really cool. somehow it reminds me of lunar base from final fantasy 8 and ratchet gladiator for some reason.
  12. nice idea remind me of classic final fantasy games
  13. only works with best emulator hercules master race we are best habilis prime transform no noob emulator
  14. I updated the pastebin. There was an error it was pointing to OnEnd instead of OnStop. Thanks.
  15. @luizinhomt wrong thread. http://herc.ws/board/topic/16015-event-wheel-of-fortune/ and you using rathena. this is hercules forum lol.
  16. Have you edited file at all? Using updated Hercules? I am using updated Hercules and it works fine.
  17. Is your server behind a firewall? If so, disable it to see if it is the issue.
  18. Update: - skill_get_requirement_post was missing a 'sd' check. - Configuration for which skills become available is now set in an array. - Console will print a warning if the array is not configured correctly. // Configuration int extra_skill[] = { // Add the skills/levels here // Format: skill_id, skill_lv, WZ_VERMILION, 10, LK_PARRYING, 10 }; // End Configuration
  19. Come one, come all. I have converted the single greatest source edit into plugin form: Consider me for your next job. Editing skills, statuses and making atcommand and script commands are my specialty!
  20. Description: When a Star Gladiator is Soul Linked, the 'Lord of Vermilion' and 'Parrying' skills become available for them to use. This must be the most requested source edit of all time? Idk why. Anyway, here you go - in plugin form. https://github.com/bWolfie/HPM-Plugins/blob/master/src/plugins/sg_parrying_lov.c
  21. What you have there are instructions. Basically, you just need to follow them and it should slot straight into Hercules. It should work, cause skill ID 85 = WZ_VERMILION and 356 = LK_PARRYING. If I'm correct, it is telling you to edit the pc_calc_skilltree_clear function. I'll let you try to work it out from here.
  22. you have edited script. download fresh one and start again.
  23. go to meatspin dot com to install star emperor on rathena
  24. Hi all, For the longest time I've been creating custom script commands simply so I can read a value from struct map_session_data{}. For example, I wanted to return the value of sd->state.showzeny, so I created a simple buildin just for that purpose.It would go something like this: BUILDIN(read_showzeny) { struct map_session_data *sd = script->rid2sd(st); if (sd != NULL) script_pushint(st, sd->state.showzeny); else script_pushint(st, -1); return true; } Seems not bad, right? But then it got me thinking. I'm creating all these script commands for one simple action. Surely there's a better way? That's when I stumbled across the getunitdata() command. Then it came to me - create a script command which can fetch this data for a player. The Goal Create a script command which can fetch the data which map_session_data provides. It would work similar to getunitdata(): *getplayerdata(<account id>, <DataType>{,<Variable>}) Maybe also setplayerdata()? Helped needed: The one thing is, not all the stuff in there is useful. Maybe it would be best to selectively choose what can be retrieved as data? I made a list for this stuff. Let me know what you think.
×
×
  • Create New...

Important Information

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