Samuel
Members-
Content Count
397 -
Joined
-
Last visited
-
Days Won
20
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by Samuel
-
if (!sd) return 0; if(map_flag_vs(sd->bl.m)) { clif->message(sd->fd, "command cant be used on pvp/gvg/bg maps"); return 0; } what i mean is change all the return 0 to return true
-
What revision are you using? maybe you need to update your hercules
-
just change the return 0 to return true;
-
How to Change BakonawaLake instance cooldown
Samuel replied to rotloso's question in General Server Support
haha thanks to @@Edgar for correcting me -
Try this plugin: I just made the @kickall -at which will not kick the players with @at
-
How to Change BakonawaLake instance cooldown
Samuel replied to rotloso's question in General Server Support
go to db/quest_db.conf find { Id: 12278 Name: "Towards Bakonawa Lake..." TimeLimit: 604800}, change the timelimit to 3600 i think to make it 24 hrs. -
@@zhaosin 0 = group id 113e195e6c051bb1cfb12a644bb084c5 = hash of the client but i think you need to diff your client with force sending hash in order for this to work, well you could try first
-
I think this is a langtype issue?? Try changing langtype in clientinfo.xml
-
maya card has 50% chance to reflect single target magic
-
Thanks sir Mhalicot! Finished the plugin
-
Alright! I'm really lookibg for examples Forgot that plugin Will look into it, thanks!
-
Hmm, will tru this once I get home. But just want to ask if this thing I'm doing is really possible in plugin. Define the delay in conf file and hooks will read it. Whenever I change the value in conf file and reload battleconf, hooks will read the new value. Thanks!
-
Map server crash how to get dump or error log?
Samuel replied to Zirius's question in General Server Support
If you're using windows, enable dbghelpplug plugin How to enable? see this: http://herc.ws/wiki/Building_HPM_Plugin_for_MSVC The .c file is in src/plugins folder -
Hello, I'm trying to convert the @go, @warp, @jump delay when hit via plugin and I was successful. But I want to make it read the delay from a conf setting instead of hard coded in the plugin source. So I looked into the sample.c and tried it so it just [cbox] HPExport void server_preinit (void) { /* makes map server listen to mysetting:value in any "battleconf" file (including imported or custom ones) */ /* value is not limited to numbers, its passed to our plugins handler (parse_my_setting) as const char *, * and thus can be manipulated at will */ addBattleConf("go_delay",go_delay_setting); } [/cbox] [cbox] void go_delay_setting(const char *val) { ShowDebug("Received 'go_delay:%s'n",val); /* do anything with the var e.g. config_switch(val) */ } [/cbox] So it successfully reads the go_delay I placed in the import/battle.conf But now, I don't have any idea on how would I be able to use it like this in a source: battle_config.go_delay Hope someone could help me.. Thanks in advance!
-
i have a VPS , but i want to buy webhost
Samuel replied to Luffy's question in General Server Support
you'll find many offers in webhostingtalk.com under shared offers -
encountered this recently.. Hmm, how do you fixed this? LOL
-
Like three options, much easier to use and understand.
-
i have a VPS , but i want to buy webhost
Samuel replied to Luffy's question in General Server Support
if you have a vps, you could use apache to host your sites. -
You will need the latest version from the mediafire link (1.6.7.5) : http://www.mediafire.com/download/aflylbhblrzpz0h There are two ways to encrypt files, but first, you'll want to setup your client. Go in Tools > GRF Encryption Put your encryption password in the first box (you can save the credentials to a .grfkey format if you plan on using the encryption often, but make sure this file is not shared with anyone else). Select your client executable (the name of the executable cannot be changed afterwards). Put your new cps.dll name. This cannot exceed 7 characters. You can simply leave it as "cps.dll", which won't require an edited client. Click on Generate files. If everything went well, a window should show up with your new cps.dll file selected (and the client, if it needed modifications). Screenshot below after you generate your client files. Copy the new generated files to your client folder. That's it for the client configuration. As for the GRF actual encryption now... Open your GRF in GRF Editor. If you want to encrypt your entire GRF, go in Tools > GRF Encryption, click on Encrypt GRF (might ask you for your password). The process should be rather quick, the output GRF is your new encrypted GRF. You can also encrypt specific files if you want : right-click the items you want to encrypt and use Encryption > Encrypt. Save your GRF. Encrypted files will show in orange. When opening up an encrypted GRF, GRF Editor will prompt you for your credentials (hence why it's useful to save your password somewhere, then you can quickly load it with Key... > Load recent > your key.grfkey) : To make encrypted Thor patches, create a new Thor file from File > New > New Thor. Add a data folder and add your files in there. This is the same process as above : right-click, Encryption > Encrypt. Make sure you use the same password/key. Go in the Container options tab and set your target GRF (as shown below). Once saving, you will no longer be able to modify your encrypted Thor patch though (the files will become unreadable). Also, always test your Thor patches to make sure everything is working fine. That should cover most of it xD! If you have further questions, go ahead. Sorry for the very late reply.. Hmm, once I used an encrypted grf, should all my thor patch be encrypted as well? Thanks!
-
I can't register as well keyworld, will pm you my registration emai
-
Ahh ok so you have added it in source, well I really want to make it into plugin, managed to make it get from storage now but there are still some bugs since i made them from scratch lol
-
Query to wipe everything except login details
Samuel replied to Zirius's question in Database Support
Just make sure to backup login table then you could delete everything, then just re-run the main.sql then copy the insert from your backup and run it -
Ahh i see, so you've been using it in hercules? Or still in rathena?
-
Most likely, but that seems to be a broken source.
-
@restock +itemid <min quant> <max quant> - add an new item that will be restored when get the min quantity until the max quantity. @restock -itemid - remove an item from restock list @restock list - display all itens on list @restock clear - remove all itens from list Every time you use an item which is in the restock list it will be automatically put in your inventory from your storage as long as you have the item in storage. I have managed to this in plugin by using @alootid as pattern, I was also able to hook it already with pc_useitem, the problem is with the check of restock items in the list during the pc_useitem