a33 problem explained

Page 1 of 4 1234 LastLast
Results 1 to 25 of 78
  1. #1
    Account Upgraded | Title Enabled! ronny1982 is offline
    MemberRank
    Jan 2010 Join Date
    744Posts

    a33 problem explained

    as you all know in a33 the movement is limited by "invisible" borders

    Why is it limited?

    • in the client you find an array of center points, these are used for coordinate calculation
    • following center points are in the elementclient.exe (float): 512, 1536, 2048, 5632
    • an 1024x1024 map uses the centerpoint 512 for coordinate calculation (-512 to +512)
    • map 133 is a 2048x2048 map and requires the center point 1024, so this is the first issue, 1024 is missing in the array
    • this can be solved by pointing the corresponding assembly code to a memory value that holds a 1024 float
    • next problem, cn 1.3.6 has only defined center points for maps up to 132, all other 133+ maps uses the default center point 512
    • now you can see why map 133 is limited to 1536x1536, it's because the center point is set to 512 instead of 1024 so the size of 2048 is shrinked by the center point difference to 1536
    • but even if we change the default center point to 1024 by memory mapping, all other default maps (134, 135) which needs a center point other than 1024 will come into the same issue


    the task is to find out, if it is possible to add a unique center point for 133 only, so that all other maps like 134, 135,... are not affected...

    you can use a memory scanner like cheat engine to check for the center points after entering a map, currently i wasn't successful with that (or just to lazy )
    Last edited by ronny1982; 15-12-10 at 11:36 PM.


  2. #2
    Black Magic Development das7002 is offline
    MemberRank
    Apr 2010 Join Date
    EarthLocation
    2,188Posts

    Re: a33 problem explained

    Interesting...

  3. #3
    Robb rbb138 is offline
    MemberRank
    Jan 2009 Join Date
    London, EnglandLocation
    1,241Posts

    Re: a33 problem explained

    or you can give it the tag 301

  4. #4
    Omega 343 is offline
    MemberRank
    Oct 2009 Join Date
    Ancient DGN CTYLocation
    5,514Posts

    Re: a33 problem explained

    my a33 has world tag 333, same thing. What's different about tag 301 ?

  5. #5
    Account Upgraded | Title Enabled! ronny1982 is offline
    MemberRank
    Jan 2010 Join Date
    744Posts

    Re: a33 problem explained

    Quote Originally Posted by rbb138 View Post
    or you can give it the tag 301
    301 didn't work for me, same problem: center point is 512 (cn 1.3.6 elementclient.exe)

  6. #6
    Robb rbb138 is offline
    MemberRank
    Jan 2009 Join Date
    London, EnglandLocation
    1,241Posts

    Re: a33 problem explained

    its used for housing system but is still in our files, its big enough for chrono.

    edit:
    actually its 132 for chrono and 301 for cube, eistiger recorrected me lol.
    Last edited by rbb138; 16-12-10 at 12:16 AM.

  7. #7
    Account Upgraded | Title Enabled! ronny1982 is offline
    MemberRank
    Jan 2010 Join Date
    744Posts

    Re: a33 problem explained

    have you done a full run with cube at 301? didn't work for me either... :(

    btw.
    chrono is 2048x2048 -> cube is 3072x3072
    chrono @ 132 got center point 1536 (instead of 1024), which leads to wrong coordinate calculation

    housing maps are 3072x3072, so cube @ 301 should work... maybe i did something wrong
    Last edited by ronny1982; 16-12-10 at 12:28 AM.

  8. #8
    Robb rbb138 is offline
    MemberRank
    Jan 2009 Join Date
    London, EnglandLocation
    1,241Posts

    Re: a33 problem explained

    maybe it doesnt work for all clients

  9. #9
    Лучезарный loko9988 is offline
    MemberRank
    Mar 2010 Join Date
    RussiaLocation
    335Posts

    Re: a33 problem explained

    fixed

  10. #10
    Omega 343 is offline
    MemberRank
    Oct 2009 Join Date
    Ancient DGN CTYLocation
    5,514Posts

    Re: a33 problem explained

    ?????

  11. #11
    Лучезарный loko9988 is offline
    MemberRank
    Mar 2010 Join Date
    RussiaLocation
    335Posts

    Re: a33 problem explained

    fixed :) later i created guide

  12. #12
    New porn: share'N'leach ivanaivana is offline
    MemberRank
    Oct 2010 Join Date
    RussiaLocation
    323Posts

    config Re: a33 problem explained

    Quote Originally Posted by loko9988 View Post
    fixed :) later i created guide
    Действительно хотелось бы узнать где и что копать, чтобы не извращаться с тегами локаций. Ждем гайд ^_^ ну или подсказку в каком направлении искать.

    Waitin for explanations.

  13. #13
    Nerd-IO Romulan is offline
    MemberRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    Re: a33 problem explained

    Quote Originally Posted by ivanaivana View Post
    Waitin for explanations.
    Same here

  14. #14
    Apprentice twiggy345 is offline
    MemberRank
    Jun 2010 Join Date
    24Posts

    Re: a33 problem explained

    Ok, i havent tried this , only becuase im not sure which map is 33 or if i even have it installed. I did run across a file that might assist u in fixing this issue. If u go pwserver/gamed/gs.conf.

    Ok then scroll down the list of all the maps in the game.

    What ur looking for is this here

    [Terrain_is33]
    szMapPath = map
    nAreaWidth = 512
    nAreaHeight = 512
    nNumAreas = 4
    nNumCols = 2
    nNumRows = 2
    vGridSize = 2.0f
    vHeightMin = 0.0f
    vHeightMax = 800.0f


    Ok and u see here that it say nAreaWidth=512, i dont know im still learning. But what would happen if u changed that to 1024. and the one below that also. that should put center of map at 1024 if im understanding this. Atleast double the size of the map. Which i think is what ur trying to do. Anyways , theres my 2 cents on the idea..... Thank you all for what u have done here.

    Just an idea and maybe bump in the right direction. Thank u every one
    Last edited by twiggy345; 11-02-11 at 12:10 AM.

  15. #15
    New porn: share'N'leach ivanaivana is offline
    MemberRank
    Oct 2010 Join Date
    RussiaLocation
    323Posts

    Re: a33 problem explained

    Quote Originally Posted by twiggy345 View Post
    Ok, i havent tried this , only becuase im not sure which map is 33 or if i even have it installed. I did run across a file that might assist u in fixing this issue. If u go pwserver/gamed/gs.conf.

    Ok then scroll down the list of all the maps in the game.

    What ur looking for is this here

    [Terrain_is33]
    szMapPath = map
    nAreaWidth = 512
    nAreaHeight = 512
    nNumAreas = 4
    nNumCols = 2
    nNumRows = 2
    vGridSize = 2.0f
    vHeightMin = 0.0f
    vHeightMax = 800.0f


    Ok and u see here that it say nAreaWidth=512, i dont know im still learning. But what would happen if u changed that to 1024. and the one below that also. that should put center of map at 1024 if im understanding this. Atleast double the size of the map. Which i think is what ur trying to do. Anyways , theres my 2 cents on the idea..... Thank you all for what u have done here.

    Just an idea and maybe bump in the right direction. Thank u every one
    WHOLE map size is in elementclient.exe and is unique for each tag such as 205, 119, 132, 133 etc. But where is that blocks, containin info 'bout map size of each instatses.
    So thats why we waitin for loko's guide or if some1 else have time to explore elementclient.exe with CE and Olly.

  16. #16
    Apprentice twiggy345 is offline
    MemberRank
    Jun 2010 Join Date
    24Posts

    Re: a33 problem explained

    Oooo ok, ur looking client side not Server, hmmm , when i get done trying to figure out how to add bonus stats tp armor sets, ill check out olly and CE and see if i can see anything in it myself. i would wait for Loco but if he could atleast given a rough draft by now so im try and see what i can come up with.
    Last edited by twiggy345; 11-02-11 at 05:13 AM.

  17. #17
    Лучезарный loko9988 is offline
    MemberRank
    Mar 2010 Join Date
    RussiaLocation
    335Posts

    Re: a33 problem explained

    ronny i help, u create fix :)
    find function char __cdecl sub_4060B0()

    and u all see :)

  18. #18
    Novice sindy is offline
    MemberRank
    Mar 2011 Join Date
    4Posts

    Re: a33 problem explained

    thank you so much!

  19. #19
    Apprentice yunkaixin is offline
    MemberRank
    May 2009 Join Date
    8Posts

    Support Re: a33 problem explained

    i think we must do it for CN 1.3.8 elementclient.exe. ii try it. it can't connection glinkd

    i will share the CN 1.3.8 elementclient.exe later

    CN 1.3.8 elementclient.exe
    Last edited by yunkaixin; 23-03-11 at 04:16 AM.

  20. #20
    Nerd-IO Romulan is offline
    MemberRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    Re: a33 problem explained

    1.3.8 version and above have new protocols, it's not possible to get it working with our glinkd. Give up.

  21. #21
    Member MorzE is offline
    MemberRank
    Aug 2010 Join Date
    RussiaLocation
    70Posts

    Re: a33 problem explained

    Quote Originally Posted by loko9988 View Post
    ronny i help, u create fix :)
    find function char __cdecl sub_4060B0()

    and u all see :)
    thnks. I fixed it.

  22. #22
    Nerd-IO Romulan is offline
    MemberRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    Re: a33 problem explained

    Quote Originally Posted by MorzE View Post
    Quote Originally Posted by loko9988 View Post
    ronny i help, u create fix :)
    find function char __cdecl sub_4060B0()

    and u all see :)
    thnks. I fixed it.
    //facepalm :doh: Why you don't post the entire fix for everyone?

  23. #23
    SON OF MARFEL hrace009 is offline
    MemberRank
    Apr 2009 Join Date
    Pekanbaru, IndoLocation
    1,035Posts

    Re: a33 problem explained

    Quote Originally Posted by loko9988 View Post
    ronny i help, u create fix :)
    find function char __cdecl sub_4060B0()

    and u all see :)
    Quote Originally Posted by MorzE View Post
    thnks. I fixed it.
    thx, fix it to, make Romulan more crazy about this

  24. #24
    Member MorzE is offline
    MemberRank
    Aug 2010 Join Date
    RussiaLocation
    70Posts

    Re: a33 problem explained

    Quote Originally Posted by Romulan View Post
    //facepalm :doh: Why you don't post the entire fix for everyone?
    Because I'm greedy. And everyone should think independently.
    Last edited by MorzE; 23-03-11 at 04:27 PM.

  25. #25
    PW Dev <3 Ozuru is offline
    MemberRank
    Feb 2011 Join Date
    737Posts

    Re: a33 problem explained

    You need to read a post of ronnys when he gave fix for tideborn and genesis lands. He said that if no one would share their stuff, we would be in the middle ages still.
    Posted via Mobile Device



Page 1 of 4 1234 LastLast

Advertisement