Direct replacement would be playerid(player(1),ID),pos y = 0, but since player(#) is a redirect, you can simplify it to just player(1),pos y = 0.
It occurred while I was playing, what could it be?"chars/zelda/LinoLiteSM/LinoLiteSM.defSecretchars/zelda/LinoLiteSM/LinoLiteSM.def{stateType:1 prevStateType:1 moveType:65536 prevMoveType:65536 storeMoveType:false physics:1 ps:[] hitPauseExecutionToggleFlags:[[] [] [] [] [] [] [] [] []] no:15000 prevno:5000 time:0 sb:{stateType:1 moveType:65536 physics:1 playerNo:0 stateDef:[0 1 2 0 0 0 5 0 1 1 2 0 0 0 5 0 2 1 2 0 0 0 5 0 6 2 5 0 0 0 8 0 0 0 0 5 0 0 0 8 0 0 0 0 7 2 0 0 0 0 5 0 0 0 6 152 58 0 0] block:{persistent:1 persistentIndex:-1 ignorehitpause:-2 ctrlsIgnorehitpause:false trigger:[] elseBlock:<nil> ctrls:[{persistent:1 persistentIndex:-1 ignorehitpause:-2 ctrlsIgnorehitpause:false trigger:[65 5 251 25] elseBlock:<nil> ctrls:[[0 1 5 0 0 0 6 182 58 0 0]] loopBlock:false nestedInLoop:false forLoop:false forAssign:false forCtrlVar:{vari:0 be:[]} forExpression:[[] [] []] forBegin:0 forEnd:0 forIncrement:0} {persistent:1 persistentIndex:-1 ignorehitpause:-2 ctrlsIgnorehitpause:false trigger:[55 5 0 21] elseBlock:<nil> ctrls:[[1 2 0 0 0 0 16 0 0 0 154 38 5 1 21 6 152 58 0 0 6 162 58 0 0 54]] loopBlock:false nestedInLoop:false forLoop:false forAssign:false forCtrlVar:{vari:0 be:[]} forExpression:[[] [] []] forBegin:0 forEnd:0 forIncrement:0} {persistent:1 persistentIndex:-1 ignorehitpause:-2 ctrlsIgnorehitpause:false trigger:[55 5 0 21] elseBlock:<nil> ctrls:[[0 1 4 0 0 0 154 0 5 0 1 1 4 0 0 0 154 0 5 0]] loopBlock:false nestedInLoop:false forLoop:false forAssign:false forCtrlVar:{vari:0 be:[]} forExpression:[[] [] []] forBegin:0 forEnd:0 forIncrement:0} {persistent:1 persistentIndex:-1 ignorehitpause:-2 ctrlsIgnorehitpause:false trigger:[55 154 44 26] elseBlock:<nil> ctrls:[[0 1 5 0 0 0 8 154 153 25 63]] loopBlock:false nestedInLoop:false forLoop:false forAssign:false forCtrlVar:{vari:0 be:[]} forExpression:[[] [] []] forBegin:0 forEnd:0 forIncrement:0} {persistent:1 persistentIndex:-1 ignorehitpause:-2 ctrlsIgnorehitpause:false trigger:[132] elseBlock:<nil> ctrls:[[0 1 5 0 0 0 8 0 0 0 0]] loopBlock:false nestedInLoop:false forLoop:false forAssign:false forCtrlVar:{vari:0 be:[]} forExpression:[[] [] []] forBegin:0 forEnd:0 forIncrement:0} {persistent:1 persistentIndex:-1 ignorehitpause:-2 ctrlsIgnorehitpause:false trigger:[132] elseBlock:<nil> ctrls:[[0 1 5 0 0 0 8 0 0 128 63]] loopBlock:false nestedInLoop:false forLoop:false forAssign:false forCtrlVar:{vari:0 be:[]} forExpression:[[] [] []] forBegin:0 forEnd:0 forIncrement:0} {persistent:1 persistentIndex:-1 ignorehitpause:-2 ctrlsIgnorehitpause:false trigger:[72 6 152 58 0 0 21 16 5 9 56 5 0 21] elseBlock:<nil> ctrls:[[1 2 0 0 0 0 5 0 0 0 6 157 58 0 0]] loopBlock:false nestedInLoop:false forLoop:false forAssign:false forCtrlVar:{vari:0 be:[]} forExpression:[[] [] []] forBegin:0 forEnd:0 forIncrement:0} {persistent:1 persistentIndex:-1 ignorehitpause:-2 ctrlsIgnorehitpause:false trigger:[72 6 162 58 0 0 21 16 5 9 56 5 0 21] elseBlock:<nil> ctrls:[[1 2 0 0 0 0 5 0 0 0 6 167 58 0 0]] loopBlock:false nestedInLoop:false forLoop:false forAssign:false forCtrlVar:{vari:0 be:[]} forExpression:[[] [] []] forBegin:0 forEnd:0 forIncrement:0} {persistent:1 persistentIndex:-1 ignorehitpause:-2 ctrlsIgnorehitpause:false trigger:[56 5 0 21 16 0 9 72 6 157 58 0 0 21 17 0 9 72 6 167 58 0 0 21] elseBlock:<nil> ctrls:[[0 1 5 0 0 0 6 109 7 0 0]] loopBlock:false nestedInLoop:false forLoop:false forAssign:false forCtrlVar:{vari:0 be:[]} forExpression:[[] [] []] forBegin:0 forEnd:0 forIncrement:0}] loopBlock:false nestedInLoop:false forLoop:false forAssign:false forCtrlVar:{vari:0 be:[]} forExpression:[[] [] []] forBegin:0 forEnd:0 forIncrement:0} ctrlsps:[] numVars:0}}goroutine 1 [running, locked to thread]:github.com/yuin/gopher-lua.(*LState).PCall.func1() C:/Users/runneradmin/go/pkg/mod/github.com/yuin/gopher-lua1988 +0x212panic({0x7ff654de8b40, 0xc0399ff6a0}) C:/hostedtoolcache/windows/go/1.20.14/x64/src/runtime/panic.go:884 +0x213log.(*Logger).Panicf(0x7ff654e4fd00?, {0x7ff654e73b15?, 0x7ff654f4ca60?}, {0xc004327650?, 0x7ff654a14c80?, 0xc0000f2050?}) C:/hostedtoolcache/windows/go/1.20.14/x64/src/log/log.go:254 +0x74main.(*Char).panic(0xc021ef2000) D:/a/Ikemen-GO/Ikemen-GO/src/char.go:2344 +0x24fmain.(*StateBytecode).run(0xc021ef2158, 0xc000003a98?) D:/a/Ikemen-GO/Ikemen-GO/src/bytecode.go:12001 +0x39bmain.(*Char).changeStateEx(0xc021ef2000, 0x13?, 0x20?, 0x1?, 0x0, {0x0?, 0xc03dde5b00?}) D:/a/Ikemen-GO/Ikemen-GO/src/char.go:4527 +0x1d9main.(*Char).changeState(...) D:/a/Ikemen-GO/Ikemen-GO/src/char.go:4535main.changeState.Run({0xc020952720?, 0xc0043279e0?, 0x7ff654b7023e?}, 0xc034bc51a0?, {0x15?, 0x18?, 0xc021ef2000?}) D:/a/Ikemen-GO/Ikemen-GO/src/bytecode.go:4059 +0xf8main.StateBlock.Run({0x1, 0xffffffff, 0xfffffffe, 0x0, {0xc034bc51a0, 0x15, 0x18}, 0x0, {0xc0285467d0, 0x1, ...}, ...}, ...) D:/a/Ikemen-GO/Ikemen-GO/src/bytecode.go:3580 +0x4c6main.StateBlock.Run({0x1, 0xffffffff, 0xfffffffe, 0x0, {0x0, 0x0, 0x0}, 0x0, {0xc03d83d700, 0xb, ...}, ...}, ...) D:/a/Ikemen-GO/Ikemen-GO/src/bytecode.go:3580 +0x4c6main.(*StateBytecode).run(0xc021ef2158, 0xc023d19c20?) D:/a/Ikemen-GO/Ikemen-GO/src/bytecode.go:11995 +0x225main.(*Char).actionRun(0xc021ef2000) D:/a/Ikemen-GO/Ikemen-GO/src/char.go:7343 +0x6ffmain.(*CharList).action(0x7ff654dae840) D:/a/Ikemen-GO/Ikemen-GO/src/char.go:8421 +0x99main.(*System).action(0x7ff654dad980) D:/a/Ikemen-GO/Ikemen-GO/src/system.go:1652 +0x54amain.(*System).fight(0x7ff654dad980) D:/a/Ikemen-GO/Ikemen-GO/src/system.go:2434 +0x1892main.systemScriptInit.func61.2() D:/a/Ikemen-GO/Ikemen-GO/src/script.go:1317 +0x52amain.systemScriptInit.func61(0xc000328000) D:/a/Ikemen-GO/Ikemen-GO/src/script.go:1365 +0x3d3github.com/yuin/gopher-lua.callGFunction(0xc000328000, 0x0) C:/Users/runneradmin/go/pkg/mod/github.com/yuin/gopher-lua202 +0x37github.com/yuin/gopher-lua.init.3.func26(0xc000328000, 0xc0c0001?, 0xc00032a000?) C:/Users/runneradmin/go/pkg/mod/github.com/yuin/gopher-lua821 +0x379github.com/yuin/gopher-lua.mainLoop(0xc000328000, 0xc00082c7c0?) C:/Users/runneradmin/go/pkg/mod/github.com/yuin/gopher-lua31 +0xfagithub.com/yuin/gopher-lua.(*LState).callR(0xc000328000, 0x0, 0xffffffffffffffff, 0xc000306010?) C:/Users/runneradmin/go/pkg/mod/github.com/yuin/gopher-lua1211 +0x1b4github.com/yuin/gopher-lua.(*LState).Call(...) C:/Users/runneradmin/go/pkg/mod/github.com/yuin/gopher-lua1967github.com/yuin/gopher-lua.(*LState).PCall(0xc000328000, 0x0, 0xc00082c7c0?, 0x0) C:/Users/runneradmin/go/pkg/mod/github.com/yuin/gopher-lua2030 +0x145github.com/yuin/gopher-lua.(*LState).DoFile(0xc000328000, {0xc000145668?, 0x0?}) C:/Users/runneradmin/go/pkg/mod/github.com/yuin/gopher-lua396 +0x6bmain.main() D:/a/Ikemen-GO/Ikemen-GO/src/main.go:106 +0x278stack traceback: [G]: in function 'game' .\external\script\start.lua:1422: in function 'f_game' .\external\script\start.lua:1859: in function 'launchFight' external/script/default.lua:20: in function <external/script/default.lua:0> .\external\script\start.lua:1476: in function 'f' external/script/main.lua:3168: in function 'loop' external/script/main.lua:3253: in function 'loop' external/script/main.lua:4220: in main chunk [G]: ?"
help, what could it be? "external/script/main.lua:2275: attempt to compare string with number stack traceback: external/script/main.lua:2275: in main chunk [G]: ? "
Idk where exactly to ask about this, but I have a character I'm working on that randomly changes colors every round. It works perfectly fine on MUGEN, but on IKEMEN it just defaults to the normal 1,1 palette for both sides. The random palette code I'm using:;---------------------------------------------------------------------------; Initialize (at the start of the round)[Statedef 5900]type = S[State 5900, 1] ;Clear all int variablestype = VarRangeSettrigger1 = roundsexisted = 0value = 0[State 5900, 2] ;Clear all float variablestype = VarRangeSettrigger1 = roundsexisted = 0fvalue = 0[State 5900, 3] ;Change palettetype = RemapPaltrigger1 = 1source = 1,1dest = 1,random%8[State 5900, 4] ;Intro for round 1type = ChangeStatetrigger1 = 1value = 191[State 5900, 5] ;All other roundstype = ChangeStatetrigger1 = 1value = 0;-----------------------------------------------------------I've also changed the palettes to be from .act files instead as well, but that didn't fix it...