-
Content Count
280 -
Joined
-
Last visited
-
Days Won
26
mkhzaleh last won the day on July 13
mkhzaleh had the most liked content!
Community Reputation
119 ExcellentAbout mkhzaleh
-
Rank
First Mate
-
mkhzaleh changed their profile photo
-
my files do not use event like that anymore, so i just posted how his files could be lol
-
give item works just fine as it takes quality parameter GiveItem(cha, 0, item_id, quantity, 4)--the 4 is for quality and as gems be 101= lvl 1 102 lvl 2and so on but you maybe missing item final attr function for events 101-102
-
short answer , you give after extract process finishd u can use giveitem or make item but giveitem works fine for gems too i will not write full function but u can done that inside check here if player have at least 2 slots empty one for gem ,one for ref so here u control error handling before finish the request after everything done u give the refgem inside u will have StoneLv , after that u give it beside the extracted gem using
-
Skill (animation) speed faster based on atk speed?
mkhzaleh replied to martinx09's topic in Questions & Help
this case show only , you need source to done it -
party level check pure client side there is nothing in server to check level when accept /invite
-
if its must to be deleted you have to delete all related table and reseed each table to current index otherwise u will have ids gap when creating new accounts, character first u must delete from accountserver_login and gamedb.account/ character /guild if player is leader in some guilds , resource, friend lists, boat table ,etc just follow account id and cha id
-
for last point i still running my own repos in private development some of them here https://www.youtube.com/channel/UCbRPcPr1LYBzJdxPzfzeeOw
-
means you're using source and no need for luasql as u have access to db from source already
-
How do you update gemini 2.3 to 2.5 got the files
mkhzaleh replied to Loopar's topic in Questions & Help
this topic -
it need more info, what files do you use, using source or compiled exes? in general you can check CMD_CM_STORE_BUY_ASK packet and logic, and create different packet to load rep shop or what ever is it & need client edits
-
inside the source its always 1 for inventory type i ported it to dart class from c++ for little fun will create small admin panel using it even tho its kinda useless encryption nowadays so not sure if worth to keep that at all lol
-
Проблема c созданием(изменением) высот на карте
mkhzaleh replied to Cohet's topic in Пиратия: Помощь
_UpdateObjHeightmap function inside mpmapeditor suppose to do that when you click f9 -
Проблема c созданием(изменением) высот на карте
mkhzaleh replied to Cohet's topic in Пиратия: Помощь
guess so, there it shortcut i guess f9 was to make the new tile render in right way, i will try and post it again -
mkhzaleh started following Generate .atr from client
-
this small function built in inside client to generate .atr file for server side from client itself as yammi had warring says so better do it from client maybe? go for client source/src/main.cpp include in header : #include "TerrainAttrib.h" Search for : below or above that function add: if (strParam.find("attr") != -1) { char* pszPos = lpCmdLine; pszPos += 4; while (*pszPos == ' ') { pszPos++; } if (createAttribFile(pszPos, 0, 0)) LG("ok", "Generated %s.atr Successfully ", pszPos); else LG("ok", "Failed to Create %s.atr", pszPos); return 0; } now call it like this: start system/Game.exe attr garner .atr will be generated inside map/ p.s: if someone want to do something for .blk would be good guess its come from zrblock tile but as loading the class inside util2.h or maybe i will do later: &done&