Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Coming: Map Utility
#16
Rezeyu Wrote:He uses a C++ server.

He talked about it in "K2H In Another Language?"

Actually no xD
I changed so much my game... well I'm still using the VB server, I need to learn more about C++, college's next semester subject ^^
I have one giant map, all in MySQL and I have a floor system, witch complicates a bit, not much.
I can try to edit this program to work for my game but I don't think there will be much advantages, it's all sql and it's slow... one giant 855*585 squares, that's 500175 tiles... each tile has...
Code:
Type MapTileRec
    Ground As Integer
    Mask As Integer
    Anim As Integer
    Mask2 As Integer
    M2Anim As Integer
    Fringe As Integer
    FAnim As Integer
    Fringe2 As Integer
    F2Anim As Integer
    GroundSet As Byte
    MaskSet As Byte
    AnimSet As Byte
    Mask2Set As Byte
    M2AnimSet As Byte
    FringeSet As Byte
    FAnimSet As Byte
    Fringe2Set As Byte
    F2AnimSet As Byte
    Type As Byte
    Data1 As Integer
    Data2 As Integer
    Data3 As Integer
    Data4 As Integer
    Floor As Integer
End Type
That's... 38 Bytes each tile, so it's 19006650 Bytes, that's 18561.181640625 KBs, 18.1261539459228515625 MBs only the maps. But now my npcs can walk freely Big Grin They can follow me anywhere, and most important, now I can have pets much easily that before ^^
I'll try this and later I'll post here if it worked or not.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)