Mhalicot
-
Content Count
1971 -
Joined
-
Last visited
-
Days Won
37
Posts posted by Mhalicot
-
-
dude thanks for that now i made the item// == SQL item, mob, mob skill databases// =====================================// Note: the following databases may get out of date at times, or not be// thoroughly tested (if at all, since they're auto-generated). As such it is// not advisable to rely on them other than for informative reasons (Control// Panels, websites, etc.)// Unless you know what you're doing, please consider using their txt version.// Note2: It is perfectly legit (and recommended) to use txt databases in// Hercules, while still loading the SQL tables we provide to be used// exclusively by your Control Panel or Website.// Use SQL for item_db? (not recommended)use_sql_item_db: no// Use SQL for mob_db? (not recommended)use_sql_mob_db: no// Use SQL for mob_skill_db? (not recommended)use_sql_mob_skill_db: no
but there's another problem occured.. ( please help me again . i cant see the headgear in my head (
what client version you use? remember that New Clients are using lua/lub files -
We hope you can update your post and add the answer to your question
-
-
Hi Mhalicot! can i ask a question how do you change the " costume " word when converting the headgear into the users name?
if( battle_config.reserved_costume_id && battle_config.reserved_costume_id == charid ){clif_solved_charname(sd->fd, charid, "Costume");return;}replace costume into sd->status.name
it will become like
clif->solved_charname(sd->fd, charid, sd->status.name);
-
Please make sure that you update your map_cache.dat and make sure that you recompile your server..
-
Sir Mhalicot, please update the plugin if you have time
I nearly forgot this update. thanks for informing me.. tomorrow I have a business trip will try if I can update it by that time..
-
What use number for the command chagelook to equip an aura mouth equipment ?
changelook number, idview;
For example:
changelook VAR_HEAD_BOTTOM,2314; // Changes "head bottom" to use the sprite with for example view id 2314 (aura mouth equipment)Here are the possible look types:0 - Base sprite1 - VAR_HEAD - Hairstyle2 - VAR_WEAPON - Weapon3 - VAR_HEAD_TOP - Head top4 - VAR_HEAD_MID - Head mid5 - VAR_HEAD_BOTTOM - Head bottom6 - VAR_HEADPALETTE - Hair color7 - VAR_BODYPALETTE - Clothes color8 - VAR_SHIELD - Shield9 - VAR_SHOES - Shoes
-
src/common/mmo.h
Search
#define PACKETVER YYYYMMDD
And match it with the date version you choosed for your client
ex :
#define PACKETVER 20130522
Clean and re-build the solution of your emulator after it !!! <------------------
what do they mean by this? (im trying to make client side)
When you download a client from somewhere. The client that you download have a client date for example 2014-10-22 Client Download so you must put in your mmo.h
#define PACKETVER 20141022
and dont forget to recompile your server. good luck, if it still not clear to you.. just let us know..
-
-
Hello,
I was wondering, is there a way to add customs to the server without doing any modification to the data (server)? and patch it via client??
This idea would really be good, as it will not only help the newbie like me but also reduce the time consumption for re-compiliting things altogether....
Can you be more specific? what Customs is that?
-
Hi Quoting Yommy's post
easy, setup a really shit server and have no clue about what you are doing, then you are destined for 2000 players.What will attract mostly (Current) players of Ragnarok as well as new players to a RO server?
but be careful, any kind of professionalism in your setup, you are lucky to get 200 players
good luck -
So for a while when I use a git pull on my hercules it would update to the latest revision. But now since ive been tampering with almost everything (mmo.h, script.c, atcommand.c and a couple others) now its tellingme to commit my changes. So I go to the files with a red mark on them, right click and commit changes then Iit turns green. As I proceed to git pull Iit updates but it overlaps the code I put in and totally messes my hercules up, meaning I cant compile. Is there anyway to stash my edits to the side, then update and reapply all my edits/additions? I have to keep gitting a new hercules and reapply everything... and im afraid at one point I will forget about something and it could break my server. How do I go about this with git?
Yes. when you want to pull you need to, you need to save to stash your modification first by:
-
Right Click at the folder>TortoiseGit>Stash Save>'<stash message>' --all>ok
-
Update your Git.
-
to recover you just load it: RIght Click at the folder>TortoiseGit>Stash Pop 'it will apply your latest stash you save'
I hope it helps.
for better understanding you can view info:
Source:tortoiseGit/help
-
Right Click at the folder>TortoiseGit>Stash Save>'<stash message>' --all>ok
-
Whew, what a relief, at first I was thinking about hotkey.lua/b also but I've been confused because of UserKeys error. Anyways I wish you really fixed your problem (Mark Solved)
ShadowLight reacted to this -
Your welcome, Its my pleasure
Actually it is not solved. I could change it at first (though the window is really small 640x480 and it doesn't let me change it), when I re-open my RO is give me an error:
>>
---------------------------SaveDataUserKeys---------------------------[string "buf"]:2: '}' expected (to close '{' at line 1) near '['---------------------------OK---------------------------then it resets back to default (F1,F2,F3,....).
Make sure you delete all below file in your GRF
- ChatWndInfo_U.lua
- OptionInfo.lua
- UserKeys_s.lua
- UserKeys.lua
if you have lots of .grf, Please check if that files are available. if yes please remove it.
ShadowLight reacted to this -
Hi SIr cna you please help me
i install 2.1 costume system but when i try to convert the name is unknown
please see attachment for your reference
can you check again what you download? make sure that you download the latest one which is Costume System 2.1..
NOTE: make sure that you recompile your server after applying the diff.
-
Your welcome, Its my pleasure
-
Try this. save as UserKeys.lua
USERKEY_1 = { [9] = { EXE = "Hotkey 2-1", KEY1 = 81 }, [10] = { EXE = "Hotkey 2-2", KEY1 = 87 }, [11] = { EXE = "Hotkey 2-3", KEY1 = 69 }, [12] = { EXE = "Hotkey 2-4", KEY1 = 82 }, [13] = { EXE = "Hotkey 2-5", KEY1 = 84 }, [14] = { EXE = "Hotkey 2-6", KEY1 = 89 }, [15] = { EXE = "Hotkey 2-7", KEY1 = 85 }, [16] = { EXE = "Hotkey 2-8", KEY1 = 73 }, [17] = { EXE = "Hotkey 2-9", KEY1 = 79 }, [18] = { EXE = "Hotkey 3-1", KEY1 = 65 }, [19] = { EXE = "Hotkey 3-2", KEY1 = 83 }, [20] = { EXE = "Hotkey 3-3", KEY1 = 68 }, [21] = { EXE = "Hotkey 3-4", KEY1 = 70 }, [22] = { EXE = "Hotkey 3-5", KEY1 = 71 }, [23] = { EXE = "Hotkey 3-6", KEY1 = 72 }, [24] = { EXE = "Hotkey 3-7", KEY1 = 74 }, [25] = { EXE = "Hotkey 3-8", KEY1 = 75 }, [26] = { EXE = "Hotkey 3-9", KEY1 = 76 }, [27] = { EXE = "Hotkey 4-1", KEY1 = 90 }, [28] = { EXE = "Hotkey 4-2", KEY1 = 88 }, [29] = { EXE = "Hotkey 4-3", KEY1 = 67 }, [30] = { EXE = "Hotkey 4-4", KEY1 = 86 }, [31] = { EXE = "Hotkey 4-5", KEY1 = 66 }, [32] = { EXE = "Hotkey 4-6", KEY1 = 78 }, [33] = { EXE = "Hotkey 4-7", KEY1 = 77 }, [34] = { EXE = "Hotkey 4-8", KEY1 = 188 }, [35] = { EXE = "Hotkey 4-9", KEY1 = 190 },}USERKEY_2 = { [42] = { EXE = "Navigation On/Off", KEY1 = 78, KEY2 = 18 },}
It is still having problem (thanks for the help though). It didn't read the new hotkeys and the moment I tried to bind a key it will turn blank again.
hmm.. try to use this SaveData.zip make a backup of your own SaveData first.
ShadowLight reacted to this -
Try this. save as UserKeys.lua
USERKEY_1 = { [9] = { EXE = "Hotkey 2-1", KEY1 = 81 }, [10] = { EXE = "Hotkey 2-2", KEY1 = 87 }, [11] = { EXE = "Hotkey 2-3", KEY1 = 69 }, [12] = { EXE = "Hotkey 2-4", KEY1 = 82 }, [13] = { EXE = "Hotkey 2-5", KEY1 = 84 }, [14] = { EXE = "Hotkey 2-6", KEY1 = 89 }, [15] = { EXE = "Hotkey 2-7", KEY1 = 85 }, [16] = { EXE = "Hotkey 2-8", KEY1 = 73 }, [17] = { EXE = "Hotkey 2-9", KEY1 = 79 }, [18] = { EXE = "Hotkey 3-1", KEY1 = 65 }, [19] = { EXE = "Hotkey 3-2", KEY1 = 83 }, [20] = { EXE = "Hotkey 3-3", KEY1 = 68 }, [21] = { EXE = "Hotkey 3-4", KEY1 = 70 }, [22] = { EXE = "Hotkey 3-5", KEY1 = 71 }, [23] = { EXE = "Hotkey 3-6", KEY1 = 72 }, [24] = { EXE = "Hotkey 3-7", KEY1 = 74 }, [25] = { EXE = "Hotkey 3-8", KEY1 = 75 }, [26] = { EXE = "Hotkey 3-9", KEY1 = 76 }, [27] = { EXE = "Hotkey 4-1", KEY1 = 90 }, [28] = { EXE = "Hotkey 4-2", KEY1 = 88 }, [29] = { EXE = "Hotkey 4-3", KEY1 = 67 }, [30] = { EXE = "Hotkey 4-4", KEY1 = 86 }, [31] = { EXE = "Hotkey 4-5", KEY1 = 66 }, [32] = { EXE = "Hotkey 4-6", KEY1 = 78 }, [33] = { EXE = "Hotkey 4-7", KEY1 = 77 }, [34] = { EXE = "Hotkey 4-8", KEY1 = 188 }, [35] = { EXE = "Hotkey 4-9", KEY1 = 190 },}USERKEY_2 = { [42] = { EXE = "Navigation On/Off", KEY1 = 78, KEY2 = 18 },}
-
Please double check..
} else if (!dstsd || map_flag_vs(bl->m)) //HP damage only on pvp-maps when against players.hp = tstatus->max_hp/50; //Recover 2% HP [skotlex]clif->skill_nodamage(src,bl,skill_id,skill_lv,1);unit->skillcastcancel(bl,0);if (dstsd) skill_blockpc_start (dstsd, ud->skill_id, 5000);sp = skill->get_sp(bl_skill_id,bl_skill_lv);status_zap(bl, hp, sp);if (hp && skill_lv >= 5)hp>>=1; //Recover half damaged HP at level 5 [skotlex]elsehp = 0;if (sp) //Recover some of the SP usedsp = sp*(25*(skill_lv-1))/100;if(hp || sp)status->heal(src, hp, sp, 2);}}
you mean like this? sorry i'm not very good at scripting.. but i tried this and it failed in rebuilding.. also "skill_blockpc_start" says that it is undefined..It must be
ok add this after 'unit->skillcastcancel(bl,0);'
if (dstsd) skill->blockpc_start(dstsd, ud->skill_id, 5000);
-
based on our conversation, you are using ragexeRE. try to remove // in this line of your mmo.h
//Uncomment the following line if your client is ragexeRE instead of ragexe (required because of conflicting packets in ragexe vs ragexeRE).//#define ENABLE_PACKETVER_Rto#define ENABLE_PACKETVER_R
then recompile your server.
-
Thanks for sharing, anyways why dont you try to make a pull request?
-
Try to check it to
BF_SKILL: Trigger on skills
(Moved to Script-Support)
-
Help me! I can't to compile
You are using VS2012, you must open Hercules-11.sln. Please refer to [WIKI]Compiling
- Open Hercules-10.sln in your Hercules folder if you use Visual C++ 2010, for Visual C++ 2008, you need to open Hercules-9.sln, for Visual Studio 2012, you need to open Hercules-11.sln, If you use Visual Studio 2013, you need to open Hercules-12.sln instead.
Note that Hercules-12.sln is for VS-2013..
- Open Hercules-10.sln in your Hercules folder if you use Visual C++ 2010, for Visual C++ 2008, you need to open Hercules-9.sln, for Visual Studio 2012, you need to open Hercules-11.sln, If you use Visual Studio 2013, you need to open Hercules-12.sln instead.
-
recompile server ?
Yep, I've recompiled the server. Still not working.
Are you sure you recompile your server, Map, Login, char?
did you modify your login-server,conf in this line?
// Check The clientversion set in the clientinfo ?check_client_version: no// What version we would allow to connect? (if the options above is enabled..)client_version_to_connect: 20
Im asking if you are sure on compiling your server because the unsupported pocket is already declare in pocket.h
packet(0x022D,19,clif->pWantToConnection,2,6,10,14,18);
anyways please double check if there's no error after compiling.. try also to un-diff disable packet encryption.. if still have problem just let us know.. Goodluck..
TortoiseSVN - TortoiseGit
in Windows Support
Posted
Hello, Sometimes using our search can save you lots of time.. for instance I'd search your problem and here is the result.
Source: http://herc.ws/board/topic/4268-q-tortoise/?hl=tortoisesvn#entry27573