Author Topic: Whenever I equip an item, my player type changes to Default Player!  (Read 743 times)

/title. I doubt I'll need a console.log for this, but if I do, let me know.

I console.log is always useful.
There's not enough information as is to give you a solution.

forget
I'll try to get it to you in the morning.

Also, use trace(1); and reproduce the problem. Post that console.log so we can see exactly when it changes and what causes it to change.

Ok, will do ASAP. Might not be able to until Friday night though because strict as forget parents.

yeah without any information about what could be causing this problem, there isn't much we can help you with

i'm guessing it's probably an addon though, does it work (not swapping datablocks) with any item? with only defaults enabled? on a clean install?

I'll try doing default only ASAP. IIRC, it worked when I was doing a clean demo.

Okay, got the trace.
Code: [Select]
==>trace(1);
   Console trace is on.
Leaving ConsoleEntry::eval() - return
Entering updatespeedometer()
   Entering updateneedleoffset(0.0)
   Leaving updateneedleoffset() - return 12 27
Leaving updatespeedometer() - return 12 27
Entering [BBGUI_Hud]clientCmdBottomPrint(Health: 1000 Gold: 50000  , 0)
   Entering clientCmdBottomPrint(Health: 1000 Gold: 50000  , 0, )
   Leaving clientCmdBottomPrint() - return
Leaving [BBGUI_Hud]clientCmdBottomPrint() - return
Entering BottomPrintText::onResize(8493, 594, 24)
Leaving BottomPrintText::onResize() - return 10 0
Entering updatespeedometer()
   Entering updateneedleoffset(0.0)
   Leaving updateneedleoffset() - return 12 27
Leaving updatespeedometer() - return 12 27
Entering toggleConsole(1)
   Entering [CityRPG_Client_MainPackage]Canvas::popDialog(Canvas, ConsoleDlg)
      Entering [CanvasCursor]GuiCanvas::popDialog(Canvas, ConsoleDlg)
         Entering [lob_client]GuiControl::onSleep(8369)
         Leaving [lob_client]GuiControl::onSleep() - return
         Entering [lob_client]GuiControl::onSleep(8368)
         Leaving [lob_client]GuiControl::onSleep() - return
         Entering [lob_client]GuiControl::onSleep(8370)
         Leaving [lob_client]GuiControl::onSleep() - return
         Entering [lob_client]GuiControl::onSleep(8367)
         Leaving [lob_client]GuiControl::onSleep() - return
         Entering [lob_client]GuiControl::onSleep(8366)
         Leaving [lob_client]GuiControl::onSleep() - return
         Entering [CanvasCursor]GuiCanvas::checkCursor(Canvas)
            Entering cursorOff()
            Leaving cursorOff() - return
            Entering [CanvasCursor]GuiCanvas::checkTabFocus(Canvas)
            Leaving [CanvasCursor]GuiCanvas::checkTabFocus() - return
         Leaving [CanvasCursor]GuiCanvas::checkCursor() - return
      Leaving [CanvasCursor]GuiCanvas::popDialog() - return
   Leaving [CityRPG_Client_MainPackage]Canvas::popDialog() - return
Leaving toggleConsole() - return
Entering toggleConsole(0)
Leaving toggleConsole() - return 0
Entering updatespeedometer()
   Entering updateneedleoffset(0.0)
   Leaving updateneedleoffset() - return 12 27
Leaving updatespeedometer() - return 12 27
Entering useTools(1)
   Entering setScrollMode(2)
      Entering PlayGui::hideToolBox(PlayGui, -320, 10, 0)
      Leaving PlayGui::hideToolBox() - return 13073
   Leaving setScrollMode() - return 1
   Entering setActiveTool(1)
   Leaving setActiveTool() - return
Leaving useTools() - return
Entering PlayGui::hideToolBox(8448, -320, 10, 1)
Leaving PlayGui::hideToolBox() - return 13074
Entering PlayGui::hideToolBox(8448, -320, 10, 2)
Leaving PlayGui::hideToolBox() - return 13075
Entering clientCmdShowBricks(1)
Leaving clientCmdShowBricks() - return 1
Entering clientCmdShowEnergyBar(0)
Leaving clientCmdShowEnergyBar() - return
Entering [BBGUI_Hud]clientCmdBottomPrint(Health: 100 Gold: 50000  , 0)
   Entering clientCmdBottomPrint(Health: 100 Gold: 50000  , 0, )
   Leaving clientCmdBottomPrint() - return
Leaving [BBGUI_Hud]clientCmdBottomPrint() - return
Entering PlayGui::hideToolBox(8448, -320, 10, 3)
Leaving PlayGui::hideToolBox() - return 13083
Entering BottomPrintText::onResize(8493, 594, 24)
Leaving BottomPrintText::onResize() - return 10 0
Entering PlayGui::hideToolBox(8448, -320, 10, 4)
Leaving PlayGui::hideToolBox() - return 13084
Entering PlayGui::hideToolBox(8448, -320, 10, 5)
Leaving PlayGui::hideToolBox() - return 13085
Entering PlayGui::hideToolBox(8448, -320, 10, 6)
Leaving PlayGui::hideToolBox() - return 13086
Entering PlayGui::hideToolBox(8448, -320, 10, 7)
Leaving PlayGui::hideToolBox() - return 13087
Entering PlayGui::hideToolBox(8448, -320, 10, 8)
Leaving PlayGui::hideToolBox() - return 13088
Entering useTools(0)
Leaving useTools() - return 0
Entering PlayGui::hideToolBox(8448, -320, 10, 9)
Leaving PlayGui::hideToolBox() - return 13089
Entering PlayGui::hideToolBox(8448, -320, 10, 10)
Leaving PlayGui::hideToolBox() - return 13089
Entering updatespeedometer()
   Entering updateneedleoffset(0.0)
   Leaving updateneedleoffset() - return 12 27
Leaving updatespeedometer() - return 12 27
Entering updatespeedometer()
   Entering updateneedleoffset(0.0)
   Leaving updateneedleoffset() - return 12 27
Leaving updatespeedometer() - return 12 27
Entering [BBGUI_Hud]clientCmdBottomPrint(Health: 100 Gold: 50000  , 0)
   Entering clientCmdBottomPrint(Health: 100 Gold: 50000  , 0, )
   Leaving clientCmdBottomPrint() - return
Leaving [BBGUI_Hud]clientCmdBottomPrint() - return
Entering BottomPrintText::onResize(8493, 594, 24)
Leaving BottomPrintText::onResize() - return 10 0
Entering useTools(1)
   Entering setScrollMode(3)
      Entering PlayGui::hideToolBox(PlayGui, 320, 20, 0)
      Leaving PlayGui::hideToolBox() - return 13092
   Leaving setScrollMode() - return 1
Leaving useTools() - return 1
Entering PlayGui::hideToolBox(8448, 320, 20, 1)
Leaving PlayGui::hideToolBox() - return 13093
Entering updatespeedometer()
   Entering updateneedleoffset(0.0)
   Leaving updateneedleoffset() - return 12 27
Leaving updatespeedometer() - return 12 27
Entering PlayGui::hideToolBox(8448, 320, 20, 2)
Leaving PlayGui::hideToolBox() - return 13095
Entering PlayGui::hideToolBox(8448, 320, 20, 3)
Leaving PlayGui::hideToolBox() - return 13096
Entering clientCmdShowBricks(0)
Leaving clientCmdShowBricks() - return 0
Entering PlayGui::hideToolBox(8448, 320, 20, 4)
Leaving PlayGui::hideToolBox() - return 13097
Entering useTools(0)
Leaving useTools() - return 0
Entering PlayGui::hideToolBox(8448, 320, 20, 5)
Leaving PlayGui::hideToolBox() - return 13098
Entering PlayGui::hideToolBox(8448, 320, 20, 6)
Leaving PlayGui::hideToolBox() - return 13099
Entering PlayGui::hideToolBox(8448, 320, 20, 7)
Leaving PlayGui::hideToolBox() - return 13100
Entering PlayGui::hideToolBox(8448, 320, 20, 8)
Leaving PlayGui::hideToolBox() - return 13101
Entering PlayGui::hideToolBox(8448, 320, 20, 9)
Leaving PlayGui::hideToolBox() - return 13102
Entering PlayGui::hideToolBox(8448, 320, 20, 10)
Leaving PlayGui::hideToolBox() - return 13103
Entering PlayGui::hideToolBox(8448, 320, 20, 11)
Leaving PlayGui::hideToolBox() - return 13104
Entering toggleConsole(1)
   Entering [CityRPG_Client_MainPackage]Canvas::pushDialog(Canvas, ConsoleDlg)
      Entering [CanvasCursor]GuiCanvas::pushDialog(Canvas, ConsoleDlg)
         Entering [CanvasCursor]GuiCanvas::checkCursor(Canvas)
            Entering cursorOn()
            Leaving cursorOn() - return
            Entering [CanvasCursor]GuiCanvas::checkTabFocus(Canvas)
            Leaving [CanvasCursor]GuiCanvas::checkTabFocus() - return
         Leaving [CanvasCursor]GuiCanvas::checkCursor() - return
      Leaving [CanvasCursor]GuiCanvas::pushDialog() - return
   Leaving [CityRPG_Client_MainPackage]Canvas::pushDialog() - return
Leaving toggleConsole() - return
Entering PlayGui::hideToolBox(8448, 320, 20, 12)
Leaving PlayGui::hideToolBox() - return 13105
Entering PlayGui::hideToolBox(8448, 320, 20, 13)
Leaving PlayGui::hideToolBox() - return 13106
Entering PlayGui::hideToolBox(8448, 320, 20, 14)
Leaving PlayGui::hideToolBox() - return 13107
Entering PlayGui::hideToolBox(8448, 320, 20, 15)
Leaving PlayGui::hideToolBox() - return 13108
Entering updatespeedometer()
   Entering updateneedleoffset(0.0)
   Leaving updateneedleoffset() - return 12 27
Leaving updatespeedometer() - return 12 27
Entering PlayGui::hideToolBox(8448, 320, 20, 16)
Leaving PlayGui::hideToolBox() - return 13110
Entering PlayGui::hideToolBox(8448, 320, 20, 17)
Leaving PlayGui::hideToolBox() - return 13111
Entering PlayGui::hideToolBox(8448, 320, 20, 18)
Leaving PlayGui::hideToolBox() - return 13112
Entering PlayGui::hideToolBox(8448, 320, 20, 19)
Leaving PlayGui::hideToolBox() - return 13113
Entering PlayGui::hideToolBox(8448, 320, 20, 20)
Leaving PlayGui::hideToolBox() - return 13113
Entering [BBGUI_Hud]clientCmdBottomPrint(Health: 100 Gold: 50000  , 0)
   Entering clientCmdBottomPrint(Health: 100 Gold: 50000  , 0, )
   Leaving clientCmdBottomPrint() - return
Leaving [BBGUI_Hud]clientCmdBottomPrint() - return
Entering toggleConsole(0)
Leaving toggleConsole() - return 1738883
Entering BottomPrintText::onResize(8493, 594, 24)
Leaving BottomPrintText::onResize() - return 10 0
Entering updatespeedometer()
   Entering updateneedleoffset(0.0)
   Leaving updateneedleoffset() - return 12 27
Leaving updatespeedometer() - return 12 27
Entering updatespeedometer()
   Entering updateneedleoffset(0.0)
   Leaving updateneedleoffset() - return 12 27
Leaving updatespeedometer() - return 12 27
Entering [BBGUI_Hud]clientCmdBottomPrint(Health: 100 Gold: 50000  , 0)
   Entering clientCmdBottomPrint(Health: 100 Gold: 50000  , 0, )
   Leaving clientCmdBottomPrint() - return
Leaving [BBGUI_Hud]clientCmdBottomPrint() - return
Entering BottomPrintText::onResize(8493, 594, 24)
Leaving BottomPrintText::onResize() - return 10 0
Entering updatespeedometer()
   Entering updateneedleoffset(0.0)
   Leaving updateneedleoffset() - return 12 27
Leaving updatespeedometer() - return 12 27
Entering updatespeedometer()
   Entering updateneedleoffset(0.0)
   Leaving updateneedleoffset() - return 12 27
Leaving updatespeedometer() - return 12 27
Entering [BBGUI_Hud]clientCmdBottomPrint(Health: 100 Gold: 50000  , 0)
   Entering clientCmdBottomPrint(Health: 100 Gold: 50000  , 0, )
   Leaving clientCmdBottomPrint() - return
Leaving [BBGUI_Hud]clientCmdBottomPrint() - return
Entering BottomPrintText::onResize(8493, 594, 24)
Leaving BottomPrintText::onResize() - return 10 0
Entering updatespeedometer()
   Entering updateneedleoffset(0.0)
   Leaving updateneedleoffset() - return 12 27
Leaving updatespeedometer() - return 12 27
Entering updatespeedometer()
   Entering updateneedleoffset(0.0)
   Leaving updateneedleoffset() - return 12 27
Leaving updatespeedometer() - return 12 27
Entering [BBGUI_Hud]clientCmdBottomPrint(Health: 100 Gold: 50000  , 0)
   Entering clientCmdBottomPrint(Health: 100 Gold: 50000  , 0, )
   Leaving clientCmdBottomPrint() - return
Leaving [BBGUI_Hud]clientCmdBottomPrint() - return
Entering BottomPrintText::onResize(8493, 594, 24)
Leaving BottomPrintText::onResize() - return 10 0
Entering updatespeedometer()
   Entering updateneedleoffset(0.0)
   Leaving updateneedleoffset() - return 12 27
Leaving updatespeedometer() - return 12 27
Entering updatespeedometer()
   Entering updateneedleoffset(0.0)
   Leaving updateneedleoffset() - return 12 27
Leaving updatespeedometer() - return 12 27
Entering [BBGUI_Hud]clientCmdBottomPrint(Health: 100 Gold: 50000  , 0)
   Entering clientCmdBottomPrint(Health: 100 Gold: 50000  , 0, )
   Leaving clientCmdBottomPrint() - return
Leaving [BBGUI_Hud]clientCmdBottomPrint() - return
Entering BottomPrintText::onResize(8493, 594, 24)
Leaving BottomPrintText::onResize() - return 10 0
Entering updatespeedometer()
   Entering updateneedleoffset(0.0)
   Leaving updateneedleoffset() - return 12 27
Leaving updatespeedometer() - return 12 27
Entering ConsoleEntry::eval()
   ==>trace(0);

Do it on a single player server so we can see the server sided stuff too. Or else the trace is useless.


Wait I think it's a weapon pack doing this
I suspect it's Weapon_Mkdern

Fixed.
It was Weapon_Modern