Jump to content

Xgear

Community Contributors
  • Content Count

    249
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Xgear


  1. I don't have git or SVN installed in my VPS, i downloaded my Hercules using Tortoise git on my Windows 7 PC and uploaded to my VPS.

     

    How to install git or svn sir?

     

     

    "make plugins" then recompile? or just that?

    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


  2. I'm completely blind. Totally missed it :P

     

    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?


  3. 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);

     


  4. 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. 


  5. 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? 


  6. 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);

  7. 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. 


  8. 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)


  9. 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. 

×
×
  • Create New...

Important Information

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