Newbie Spellweaver
- Joined
- Mar 22, 2017
- Messages
- 84
- Reaction score
- 7
Hello,
i am searching for the code to set all Backpack slots default unlocked.
In the Client Source i edited the following lines:
I can't move any item in the slots because there are still locked.
Have i to search in the Server Source? for it?
what do I have to look for here?
i am searching for the code to set all Backpack slots default unlocked.
In the Client Source i edited the following lines:
Code:
int LuaFunc_GetBagPageLetTime(lua_State* L)
{
//int time;
switch (luaL_checkint(L, 1))
{
case 1:
case 2:
lua_pushboolean(L, false);
lua_pushnil(L);
break;
case 3:
lua_pushboolean(L, false);
lua_pushnil(L);
break;
case 4:
lua_pushboolean(L, false);
lua_pushnil(L);
break;
case 5:
lua_pushboolean(L, false);
lua_pushnil(L);
break;
case 6:
lua_pushboolean(L, false);
lua_pushnil(L);
break;
default:
lua_pushboolean(L, false);
lua_pushnil(L);
break;
}
return 2;
}
I can't move any item in the slots because there are still locked.
Have i to search in the Server Source? for it?
what do I have to look for here?