Results 1 to 2 of 2

Thread: Player Inventory - Linux

  1. #1
    Purple Developer Purple Elephant1au's Avatar
    Join Date
    Feb 2012
    Location
    Australia
    Posts
    1,269

    Default Player Inventory - Linux

    Came across this crash when i was using the local.player.inventory command

    Code:
    Got signal 11 - Segmentation fault, faulty address is 0x23ca8
    Crash Recover Attempt will take place!
    Execution path:
     --> ./fgameded.so(PL_Inventory+0x1c5) [0xf6402581]
     --> ./fgamededmohaa.so(_ZN8ScriptVM7ExecuteEP14ScriptVariablei9const_str+0x242b) [0xf606be9b]
     --> ./fgamededmohaa.so(_ZN12ScriptMaster14ExecuteRunningEv+0xd9) [0xf604f7c9]
     --> ./fgamededmohaa.so(G_RunFrame+0x258) [0xf6102078]
     --> ./fgameded.so(G_RunFrame+0x7d8) [0xf64063bc]
     --> ./mohaa_lnxded [0x808d7ab]
     --> ./mohaa_lnxded [0x8067486]
     --> ./mohaa_lnxded [0x809726e]
     --> /lib/libc.so.6(__libc_start_main+0xdc) [0xb06ebc]
     --> ./mohaa_lnxded(_Znwj+0x71) [0x8049c41]
    [OVERLORD] ERROR    Server has died, return code 0
    [OVERLORD] INFO     Starting server
    Only happens on a linux server , windows works fine.

    Using the command like
    Code:
    for(local.i = 0; local.i <= local.player.inventory.size; local.i++)
        {
            if(local.player.inventory[local.i] != NIL)
            level.inv[local.player.entnum][local.i] = local.player.inventory[local.i].model
            
            waitframe
            
        }
    Which works fine on a windows server, but causes a crash on linux.

    Purple's Playground
    OBJ :
    103.29.85.127:12203
    xfire: purpleelephant1au
    email: purpleelephant1au@gmail.com
    skydrive: PurpleElephantSkydrive




  2. #2
    Über Prodigy & Developer Razo[R]apiD's Avatar
    Join Date
    May 2010
    Location
    Poland, Lublin
    Posts
    3,257

    Default

    Thanks for the info I will look and try to fix this!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •