Jump to content

mkhzaleh

Community
  • Content Count

    305
  • Joined

  • Last visited

  • Days Won

    30

Everything posted by mkhzaleh

  1. not sure what are you trying to do but you already call none exist role in your code local sta_buff = Sta(ATKER) * 0.5 -- tarik stats spr its role not atker
  2. function Sta(a) --LuaPrint("Obtain character attribute sta") local sta=GetChaAttr(a,ATTR_STA) --[[ȡsta]]-- return sta end spr values
  3. my files do not use event like that anymore, so i just posted how his files could be lol
  4. 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
  5. 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
  6. this case show only , you need source to done it
  7. party level check pure client side there is nothing in server to check level when accept /invite
  8. 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
  9. mkhzaleh

    Hello

    for last point i still running my own repos in private development some of them here https://www.youtube.com/channel/UCbRPcPr1LYBzJdxPzfzeeOw
  10. means you're using source and no need for luasql as u have access to db from source already
  11. 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
  12. 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
  13. _UpdateObjHeightmap function inside mpmapeditor suppose to do that when you click f9
  14. 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
  15. 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&
  16. no its not, i had them once >like 2-3y ago"< didn't check chinese
  17. hello~ any one has top2 files that contain these files: or any top client doesn't matter for revive skydoom codes ?
  18. * update : i have reworked the MPTextureSet.h class to use maps instead of array code works fine so far , left few things if want a real dynamic release on run time remain one issue due rework the class, now enccoded texture load ,png .tga files fine but fail to create .bmb /other types it fail while creattexture from memory, even tho the buf decoded correctly , so not sure yet why, if anyone have idea why that would happen could help to speed the process lol TODO: 1- game using integer ids as key so u can't release object after finish using it , so the game only release lwITex* data every 8sec of last use so have to change texture classes to store the id as string/path name , so can do that (fixed by with hash for strings ) 2- fix encoded texture not loading with type , bmb,jpg etc (this Fixed) 3- find best way to release unused texture, ,, maybe skip skins textures or object etc -- code completely done class running with 2 versions, : one c++14 +++ and the other one c++ 23 -----------------code dynamic releasing preview --------- >as mapsize the new replacment of arry< --releasing unused icons --
  19. https://gitlab.com/deguix/top-recode/-/commit/f31d6332dbbb9098601fa3f08b3fd0472cf35139 @Perseus fixed that a year ago, take a look to this repo, of top recode .
  20. that's why u can't keep your mouth shut and reposting your quit post every few months and call everybody in live as scammer while the real scammer stand deep inside you , ok done for today go to your future kiddo
  21. in fact you're the one crying here i can post your source with mods in public doesn't matter man, it contain mounts and dropifo? we just shows people how dumb this community is now if anglix sells you a map script in your mentality : he loses all his copyright and you will start selling what he wrote
  22. when you change your discord with your team x5 times you get no support after 3 months of buying ,after i see there is no respect from buyer its that simple :), and my rules says i send product by email or repo> in your case was delivered to your team repo so you have to read well, plus seller not into people teams drama like: my team deleted me from repo/didn't send me files / etc< its not our case its that simple yea sure ,same for you, i bought your tesla now i will sell your company or buy netflix subscription " oh i will sell all movies in netflix "
×
×
  • Create New...