Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


deguix last won the day on February 12

deguix had the most liked content!

Community Reputation

39 Neutral

About deguix

  • Rank

Recent Profile Visitors

379 profile views
  1. deguix

    Maximum gold in inventory

    No, it's not possible. You should use the workaround someone else suggested. The best that is possible is this: Init_Attr.lua: SetChaAttrMax( ATTR_GD , 2000000000 ) -- ½ðÇ® change that to: SetChaAttrMax( ATTR_GD, (2^31)-1) The true maximum is 2147483647.
  2. deguix

    PKO 2.4 Server Source Code [VS2017]

    well I did release the src code with top-recode at https://gitlab.com/deguix/top-recode/. Its based on the modified src from top2 files. I just didn't bother to make a post yet, or even to update after that ;/. It includes source for both client and server (except trade server). The reason that I didn't mention it yet is because I didn't fix a major bug that prevents showing of some effects (like the intense magic).
  3. deguix

    Computer Science vs Software Engineering

    From wikipedia: It's theory (or an art) vs practical (what companies really want).
  4. deguix

    Noterius - project of emulator PKO

    Why do you have to close it? Can't you just abandon it instead? Closing (equivalent to deleting) something is like losing the past. The whole point of git is having a history. You just don't need to look at it.
  5. deguix

    Regarding source codes....

    Luajit is already implemented. The lua code was already adapted to luajit. Basically I converted pko2.7 mod and my client mod to use luajit. EDIT: Fixed compile_src.bat, so now the project can be used.
  6. deguix

    Regarding source codes....

    I was thinking of just using ffi. I just didn't do it yet because I was still trying to make the game work. Luabridge has some limits that don't work too well (ran out of time).
  7. deguix

    Regarding source codes....

    Making it 64bits will allow it to use more memory and won't clog the same memory other 32bits apps use. The problem at the moment is luajit having a 1gb max memory on 64 bits, which will cause issues, so it's not a high expectation. Now for hyperthreading - I don't think I want to go that far for such an old game. If you think this game is too slow for you then you should buy a new computer - I did and I don't regret it. Now if someone else wants to patch it with it go ahead. Hyperthreading is not simple to do. The source is really big.
  8. deguix

    Regarding source codes....

    No not yet. For the issues: the skill effects are still missing, all models disappear on graphics system options change. The todo: Basically remove the bin/txt files and make them lua with ffi, develop the default mod more (which is disabled at the moment), complete the pt_BR translation, get some of the game systems into lua like the item type UI (which is hard coded still, but shouldn't), make src 64bits so as to compile on linux. There should be more but lack of time is really problematic.
  9. deguix

    Regarding source codes....

    I finally merged the source code into my project here: https://gitlab.com/deguix/top-recode. Right now it's using pko_2.7 server scripts and my client scripts. I'm just not going to make a thread on it yet because I just ran out of time for this week. The whole project contains everything.
  10. deguix

    Regarding source codes....

    You mean, the source code that was released as the 1.x here (and on that file leak site), but then binary matched. I didn't put it at repo first because I was in doubt if I could fix the most grotesque bugs (ones that prevent playing the game). So far I couldn't find a good binary to do binary matching with.
  11. deguix

    Regarding source codes....

    I've been attempting to fix the codes too, but I'm still stumped on 3 big ones, that's why I didn't release what I have so far. I guess I'll just release it as is then as soon as possible. I just need to make a compilation on all changes I made into commits. My files are based on the changed client/server files from 2.x. Doesn't pko run the source based on 1.38 files?
  12. deguix

    Monster Animation & Texture

    Well, textures files are specified in the model files. You might want to hex it and search for string ".tga" and you'll find the texture it uses.
  13. deguix

    Key-bind to accept quests/interact key?

    Actually that requires client source change. Client-side lua can only adjust GUI keybinds. I don't think it should be hard to implement it, except for some function to get the closest npc in vicinity.
  14. - There were many fresh server attempts in the past. Most of them were abandoned. You might want to try hosting and playing them all, and see which features that were already implemented you want. For me, copy and pasting is good, as long as you do it with permission and credit where is due. You might want to play a couple of current ones as well - some might give you some more ideas. You will definitely want to do some research before starting. - You don't have to create a new server to upgrade top/pko. You can make many different kinds of projects. Here are a couple of ideas: -- Matchmaking app or like a server list app: can download client on spot, can see amount of players playing it at a glance, ban players from system if server relates hacking and so forth. That will definitely simplify hosting, which right now is a hassle. -- app to load different client files for different servers without clogging the hard disk. The packages could also be used with mm above. -- the game source is available, you might want to play with it a bit when you start learning about c++ (even if that c++ is old).
  15. deguix

    天魔传说 (Demon Legend?) Client v1.69

    EDIT: aw, misread your post... The best you can future proof it too is do is to reverse engineer it: Create a backup of characteractioninfo.bin, create new characteractioninfo.txt with lots of very predictable fields (like 1,2,3,4,5;2,3,4,5,6;3,4,5,6,7;4,5,6,7,8,9;5,6,7,8,9,10), compile and check where the values went. That way, you will discover which parameters belongs where and the types. Then make a backup of the produced .bin file, and adjust the .txt until it matches the produced .bin. This will allow you discover how the .txt should look. Then you should publish the structure you found that way so that I can add to decompiler, then you'll be able to decompile it. Explaination of 1,2,3,4,5;2,3,4,5,6;3,4,5,6,7;4,5,6,7,8,9;5,6,7,8,9,10 in several types of data: String: "1,2,3,4,5;2,3,4,5,6;3,4,5,6,7;4,5,6,7,8,9;5,6,7,8,9,10" (quotes represent string representation) Number: 1 Boolean (1 bit number): true (1 = true, 0 = false) Float: 1.0 (in float number representation, it's gonna be like 080F) Array of numbers: 1,2,3,4,5 (might get trimmed depending on amount of items accepted) Array of array of numbers: 1,2,3,4,5;2,3,4,5,6;3,4,5,6,7;4,5,6,7,8,9;5,6,7,8,9,10 (might get trimmed depending on amount of items accepted) Array of strings: "1","2","3","4","5" (quotes refer to string representation, not numbers - might get trimmed depending on amount of items accepted)