Jump to content

Wrexor

Community
  • Content Count

    68
  • Joined

  • Days Won

    9

Everything posted by Wrexor

  1. Check that your connection info is correct, you have correct permissions and configuration for SQL Server.
  2. Use version that matches project (check .sln file). VS and SQL are not same thing, their versions do not have to match.
  3. Use version of Visual Studio that matches project files, you can see that in .sln file.
  4. Wrexor

    LuaSQL (DLL)

    @Ximboliex check this
  5. Usually it's -0x400000. If you have address 0x4D0420 in ollydbg that should be 0xD0420 in hex editor.
  6. Try this: local item_id = GetItemAttr(apparel, ITEMATTR_VAL_FUSIONID)
  7. Sorry, I didn't see that.you can't use that. One thing you could do for multiplication is a loop and add. For example if you want to do 3 * 3 you would loop 3 times and add 3 each loop. For division it's similar but you subtract.
  8. Too multiply you can do mul r0, r1, r2. r0 is destination register, r1 and r2 are values to be multiplied so like r0 = r1 * r2.
  9. For 2.4 try at address A0224
  10. Looks like you only installed tools without SQL Server. You can download latest server here https://go.microsoft.com/fwlink/?LinkID=799012
  11. @Angelix @Vasil Open game.exe with hex editor and go to address 0x78FD0. You should see 01 01, change to 00 00 to enable for rings and necklaces.
  12. Added one click IGS and fixed say function to main post
  13. Wrexor

    LuaSQL (DLL)

    First you have to make a connection to the SQL Server. LuaSQL will return 2 values when connecting, first value is true/false which depends if connection was successful or not, second value is handle id on successful connection or error number if it was unsuccessful. success, handle = LuaSQL("connect", host, username, password) If connection succeeded then you can query the SQL Server. First argument is handle returned when connecting to SQL Server, second arguments is the SQL Query which would in your case be "SELECT act_id FROM character WHERE cha_name = '" . player_name . "'". Again you get 2 returns values which are similar to previous return values, first indicates success/failure, second is handle id on success and error number on failure. success, query = LuaSQL("query", handle, query) If query succeded you can fetch data. First argument is connection handle id returned when connecting to SQL Server, second argument is query handle id returned when executing query. Here you only get 1 return value which is type 'table' if command succeded otherwise it's type 'number' which corresponds to error number. data = LuaSQL("fetch", handle, query) If everything went ok you should be able to see account ID in data variable. After this you should also free query handle by calling LuaSQL with "freehandle" argument. success = LuaSql("freehandle", handle, query) You can find other information in post by @KONG here.
  14. KOP/PKO/TOP Development Services - Binary hooking/patching - Adding functionality to 1.3x executables - Lua services Works Done and Deployed: - Visible player level in name for Game.exe - Coloured Name (equipment based and static colours) for Game.exe - Bankable items for GameServer.exe - Removing Apparel limits (GameServer.exe and Game.exe) - LuaSQL extension (GameServer.exe) - Swing (Game.exe) - PacketHandler at Lua Level (GameServer.exe) - One click IGS (no security password) - Say function fix for NPCs and monsters Services: this includes custom modification upon request For more details please send a private message Coloured Name: One click IGS:
  15. Wrexor

    LuaSQL (DLL)

    Try this https://www.dropbox.com/s/skxjjewuldf87if/angelix.zip?dl=0
  16. Wrexor

    LuaSQL (DLL)

    I already updated it but there is a problem with v2.x gameservers. I have to edit your gameserver to load dll in a different way. Upload it so I can edit it.
  17. Wrexor

    ...

    You don't have to use his launcher to enter game.
  18. Wrexor

    ...

    game.exe can be changed to ignore the security check
  19. Wrexor

    Trade_Log

    This log is for igs iirc.
×
×
  • Create New...