Jump to content

bWolfie

Members
  • Content Count

    850
  • Joined

  • Last visited

  • Days Won

    34

Everything posted by bWolfie

  1. <URL>herc.ws<INFO>http://herc.ws,500,500</INFO></URL>
  2. Maybe it's the new way storage works...when it's full (even on 600/600) it seems to be laggy af while trying to resolve the storage.
  3. Will try it out. It's a decision you have to make whether to use it or not, since once you increase storage limit, you shouldn't ever reduce it, since players won't be able to access some items until they empty space :| could prove problematic. This is not exclusive to this plugin, though, thought I'd put it out there :P. Thanks as always, Dastgir!
  4. use your favourite search engine to find darkside ro. i doubt anyone will share?
  5. the best thing i can think of is to take an account variable the first time they login to their first character (in a script). OnPCLoginEvent: if (#Account_Created <= 0) #Account_Created = gettimetick(2); end;
  6. interesting question. i tried looking through source but couldnt find anything. hope for an answer. not urgent, curious myself is all.
  7. Edit: Sorry, I had a typo in map_ip setting. :| I recently diffed a client using NEMO patcher (tried 2014-10-22 and 2015-05-13), however, I have encountered the issue of not being able to join the map server. I get as far as character select, then once choosing my character, the client hangs before eventually receving the error "Failed to connect to server". I'm not sure what the issue is. I used an old "Profile", which automatically had all the diff choices setup from my previous client which worked perfect. I have tried the following things: Using the client on a fresh version of Hercules (stable branch, with only the necessary changes made to be able to connect). Checked src/common/mmo.h has the right PACKETVER defined. (20141022) ./configure --enable-packetver=20141022 then compiling. Disabling packet obfuscation in both the client patch diff and client.conf setting. (tried combinations of both) Turning off my firewall. Using only the recommended patches. When logging in, this is the output I receive: (nothing further after the last one) [Status]: Request for connection of my_account (ip: my.ip.address). [Notice]: Authentication accepted (account: my_account, id: 2000000, ip: my.ip.address) [Status]: Connection of the account 'my_account' accepted. [Info]: Closed connection from 'my.ip.address'. [Info]: request connect - account_id:2000000/login_id1:830490619/login_id2:1666885215 [Info]: Loading Char Data (2000000) [Info]: Guild loaded (1 - My Guild) [Info]: Char load request (150000) [Info]: Loaded char (150000 - Myriad): status memo inventory cart skills friends hotkeys mercenary accdata [Info]: Selected char: (Account 2000000: 0 - Myriad) [Info]: Subnet check [my.ip.address]: WAN Still no luck. Hope somebody can help! Thanks.
  8. not possible, since commands require an sd (I think stands for special data, kind of like a player id) to attach to the command. if you want to edit or fetch player data, it is better to use the query_sql() script command. in the case of slaveclone, you would need to create a custom script command for this situation.
  9. if you are using thor patcher you should use an older version. keep scanning them in totalvirus until you find one with no/low virus detection. these are actually false positives.
  10. configure only works for linux im pretty sure. if you are using mac, you probably need to use something like bootcamp to use Windows on your MAC, then compile using Windows Visual Studio.
  11. if you want to make a classic server you should research old eathena repo. dunno where you could find one. well, it would depend on what you consider 'classic'. some skill behavior changed since then, such as Shadow Jump, Body Relocation, Back Sliding.
  12. if your server size is small (less than 200-300 unique player) you don't need really need ddos protection. if you can afford it sure go for it. DO doesn't offer it though.
  13. Digital Ocean is better than Linode and vultr for LA location...tried all three in LA server, linode and vultr really sucked from my experience. LA, San Francisco, Silicon Valley (pretty much anywhere West Coast USA) are all good locations for Asian players if you want to also have good connection for USA players. I've had reports of anywhere from 150-220 ping for SEA based players for west coast host.
  14. Hello again! This time I bring the getalliance(<Guild ID>) script command. It works similar to getpartymember() and getguildmember(). I'm still in the process of testing, but it seems to work okay so far. There is a sample script in the comments section at the top of the plugin. Try it out! *getalliance(<Guild ID>) This command will find all guilds in an alliance with the specified guild and returns their names and guild ids into an array of temporary global variables. Upon executing this, $@guildallyname$[] is a global temporary string array which contains all the names of each allied guild. $@guildoppositionname$[] is a global temporary string array which contains all the names of each opposition guild. $@guildallygid[] is a global temporary number array which contains the guild id of each allied guild. $@guildoppositiongid[] is a global temporary number array which contains the guild id of each opposition guild. $@guildallycount is the number of allied guilds found. $@guildoppositioncount is the number of opposition guilds found. Note that the returned guilds come in no particular order. Be sure to use $@guildallycount/$@guildoppositioncount to go through this array, and not getarraysize(), because it is not cleared between runs of getalliance(). For usage examples, see getpartymember(). Download: https://pastebin.com/82DxKcUW
  15. Hello! The following plugin will grant your server the getguildid("<Guild Name>") script command. It is quite self-explanatory. Simply enter the Guild Name for which you need the GID. Make sure you capture it too! Example: .@GID = getguildid("My Pro Guild"); // .@GID will now be equal to whatever the guild id of 'My Pro Guild' is. // example, can be used with flagemblem flagemblem(.@GID); Hopefully no errors and compiles first time ...and hopefully this will get added to source as I hadn't found a similar functionality to it yet in our existing commands. Download: https://pastebin.com/CpyT7WKm
  16. My advice is to extract the original image splits from a GRF then overwrite their contents with yours.
  17. well first you would need the appropriate sprites
  18. sorry my bad yes thats better
  19. Hello! I made this plugin so I can bring in a pull request to my server. It compiles fine and the server starts as well. However, the plugin actually breaks the server and makes it so I can't login. I know the code is fine as I tested by adding to clif.c before making it plugin form. How can I fix it? Thank you. bool clif_send_pre(const void **buf, int *len, struct block_list **bl, enum send_target *type) { struct map_session_data *sd; if (*type != ALL_CLIENT) nullpo_ret(*bl); sd = BL_CAST(BL_PC, *bl); // Hide Area Packets from hidden players https://github.com/HerculesWS/Hercules/pull/1200 if (sd != NULL && pc_isinvisible(sd)) { if (*type == AREA || *type == BG || *type == BG_AREA) *type = SELF; else if (*type == AREA_WOS || *type == BG_WOS || *type == BG_AREA_WOS) hookStop(); return true; } hookStop(); return true; } /* run when server starts */ HPExport void plugin_init (void) { addHookPre(clif, send, clif_send_pre); }
  20. From what I know, you can't. You would need to add a check so when double attack is set to occur, there will be not crit. I might be wrong about this.
  21. In pc.c, find pc_isUseitem In this function find: if( !item->script ) //if it has no script, you can't really consume it! return 0; Add below it: // No work when talking to NPC if (sd->npc_id > 0) return 0; Hopefully meko don't see this. He will rage at source edits
  22. yup i got same thing happening to me. It happened after I updated my Hercules to latest version. Now I can't connect to my server, connection gets closed immediately. It's strange, because I used same hex and client from before. Will update if I figure it out. [Status]: Request for connection of gmporter554 (ip: my.ip.address). [Notice]: Authentication accepted (account: myaccount, id: 2000065, ip: my.ip.address) [Status]: Connection of the account 'myaccount' accepted. [Info]: Closed connection from 'my.ip.address'. NVM! I was specifying 127.0.0.1 in char/map-server confs instead of my public IP. :)
  23. thank you for the help. i realised I can ctrl+f in HPMHooking_map.Hooks.inc to find the structure needed. Compiled well this time.
×
×
  • Create New...

Important Information

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