Jump to content

Xgear

Community Contributors
  • Content Count

    249
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Xgear

  1. Awesome, this is starting to look neat. We can now further expand the kind of plugins that can be created <3
  2. there is a warning upon compilation for the latest version. 7/27/2013 3>srcmapharmony.c(376): warning C4013: 'run_script' undefined; assuming extern returning int it brings me here. run_script(nd->u.scr.script, 0, sd->bl.id, fake_nd->bl.id); thanks. Updated & Fixed. <3
  3. Esto ya se arreglo en https://github.com/HerculesWS/Hercules/commit/a76709480b8300c7af955f5c2c85d2039c1ee919]a76709480b8300c7af955f5c2c85d2039c1ee919[/url] Actualiza a la ultima versión.
  4. No tienes ningun otro Warning/Notice/Debug antes?
  5. La entrada a ITMCHAIN_ORE se encuentra en db/<pre-re o re>/item_chain.txt Particularmente la primera entrada es la que lleva ese nombre.
  6. Your LUA files need to be the same as the client you're using, so just make sure the dates match (Most LUA SVN add the Lua Date/client compatibility on their log messages on every commit) Also make sure you have these lua files and that they're in the right directory.
  7. Xgear

    checkemblem()

    Never realized there was no script function for this lol Whats the point of the char_id param?
  8. Generally "yum install git" or "apt-get install git" As for plugins, to comile plugins on *nix, yes. After its been compiled, you need to add the filename (for example, if you're using the afk.c plugin, you'd add afk) in your conf/plugins.conf file
  9. If you're using git, you can do "git pull" If you're using SVN, you can do "svn update" As for plugins, simply "make plugins" when on your server's root directory (aka ~/Hercules/)
  10. I'm completely blind. Totally missed it I am not a pro scripter so I mighjt be wrong in here, but if I remember correctly Mob Death events only trigger if there is a RID attached, meaning it will not work if its killed by another mob, pet, clone, homun, mercenary or command (Someone correct me if I am wrong here). Would that be the case here?
  11. Xgear

    Global message

    Nope, what you could do is add a timer to execute a function every second to check the current time (and check if it should ontinue execution) iTimer->add_timer_interval(iTimer->gettick()+1000, my_func, 0, 0, 1000);
  12. monster "prontera",156,170,"Punching Bag",1905,1,strnpcinfo(3)+"::OnDeath"; Where is the OnDeath Event code?
  13. Did you compile plugins on linux? You have to type "make plugins" in order to compile them. (Windows Compiled wont work on *nix)
  14. I am using the very same specs on a x64 machine without any issues. Could you run the map server alone (./map-server) and paste the entire output here? Also as an addition for whatever it might be worth, could you post the output of: gcc -E -v - </dev/null 2>&1 Just in case it can provide anything useful... Also for the sake of it, once map server stops loading or freezes or whatever do a "ps x" to make sure its still running and it didnt exit/crsh for whatever reason while loading the plugins.
  15. Actually map server is loaded.. the HPM Message only comes from the Map Server if I remember correctly. You have one plugin loaded, is it the afk one? Are you running the latest revision? The map server seems to stall after loading the plugin (It isnt reading conf or anything) Could you provide some more info like which os are you running and which compiler/version are you using?
  16. Xgear

    Global message

    Oh no, intif is a broadcast. If I am not wrong you can use the different send_target clif->broadcast clif->brodcast(bl, msg_txt(line), strlen(msg_txt(line))+1, 0, ALL_SAMEMAP);clif->brodcast(bl, msg_txt(line), strlen(msg_txt(line))+1, 0, PARTY);clif->brodcast(bl, msg_txt(line), strlen(msg_txt(line))+1, 0, GUILD);
  17. As bgamez said, if you exceed your weight limit or your inventory limit (100 different items, each equip counts as one or 30000 of a single item), you can't pick the so they'll go straight into the ground. autoloot doesnt bypass regular looting restrictions
  18. Xgear

    Global message

    I still don't understand what are you trying to say, could you elaborate more?
  19. Xgear

    Global message

    intif_broadcast(msg_txt(line number), strlen(msg_txt(line number))+1, type) Replace line number with the line where the text you added is, if you're adding a new line make sure you add it at the bottom to avoid conflicts with every other core message As for your @speed comment, didnt quite get it.
  20. Xgear

    Global message

    intif_broadcast(message, strlen(message)+1, type) type = 0x10 for blue, 0x20 for WoE, 0 for regular broadcast
  21. The server only has picklogs to work as tradelogs, assuming you have enabled them in the configuration. Those logs are found at your logs database under the pickog table with type 'T' Working with tradelogs as it is is a slightly complex issue, since logs only save "half" of the deal (aka player X gave *someone else* item Y or player X received from *someone else* item Y), but the tables currently do not support identifying the other half of the deal, so it ends up as being pretty hard to do link trades. You'd most likely have to do: 1.- Query for trades of player X 2.- Fetch the specific trade you'd like more info 3.- Search for trades over the specific time and map (assuming it wasnt @trade'd)
  22. The whole purpose of the pincode is so it works against keyloggers (reason why numbers are scrambled). Keyboard based would only render it useless. Also, the pincode system is a client feature, the server doesnt have anything to do with the input part of it, it only works as a way to confirm if the data sent by the client matches the records.
  23. I have a plugin that'd work with this, just waiting for some HPM stuff to be implemented. I could also provide it with a basic really small change in the source that'd be required (At least until the HPM's required updates go through)
×
×
  • Create New...

Important Information

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