Jump to content

Necro

Premium
  • Posts

    236
  • Joined

  • Last visited

  • Days Won

    3
  • Feedback

    0%

Posts posted by Necro

  1. Hi all, today i have problem with 40k core and bin, i am not sure if this fold is by core or binary. When i use teleport into the other map except a1 client is crashing and client syserr write me this:

    1121 22:56:21188 :: MapOutdoor::BuildQuadTree : m_wPatchCount is zero, you must call ConvertPatchSplat before call this method.
    

    in server is clear

     

    Any idea how to fix it, thank you!

  2. Wow now its work fine :D You are the best, just the last question how to modified this: 

    local nastavit_mince = mysql_query("UPDATE account.account SET coins ='"..(coins.coins[1]-items[slot][3]).."' WHERE name ='"..pc.get_account_id().."' LIMIT 1")
    

    Because system isnt subtract coins so i have still same count of coins..? :D

     

    /Solved - WHERE name -> WHERE id

  3. Thanks for that, next is here: 

    SYSERR: Nov 15 21:30:08 :: RunState: LUA_ERROR: [string "achievement_rivalia"]:10: attempt to compare number with table WITH ERRORCODE 1
    SYSERR: Nov 15 21:30:08 :: RunState: LUA_STATE: index 0 ref 3
    SYSERR: Nov 15 21:30:08 :: WriteRunningStateToSyserr: LUA_ERROR: quest achievement_rivalia.start click
    
  4. Hi, i try modified quest for Shop with the new currency but When i click on item in NPC shop it dont work and item cant buy. Sysser and syslog write me this: 

    Nov 15 20:27:46 :: QUEST ScriptButton pid 4 idx 0
    SYSERR: Nov 15 20:27:50 :: RunState: LUA_ERROR: [string "achievement_rivalia"]:2: attempt to concatenate local `coins' (a table value) WITH ERRORCODE 1
    SYSERR: Nov 15 20:27:50 :: RunState: LUA_STATE: index 0 ref 3
    SYSERR: Nov 15 20:27:50 :: WriteRunningStateToSyserr: LUA_ERROR: quest achievement_rivalia.start click
    

    Quest look like:

    quest achievement_rivalia begin
    	state start begin
    		----------------------------------------------------------------------------------------------------
    		-- SKLEP                                                                                          --
    		----------------------------------------------------------------------------------------------------
    		when 20095.chat."Sklep" begin
    			cmdchat("SetIsNpc")
    			npc.open_shop(16)
    			setskin(NOWINDOW)
    			cmdchat("SetPrice 200|200|200|200|200|0|0|100|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0")
    		end
    		when login begin
                loop_timer("casovac", 10)
            end
         
            when casovac.timer begin
                local coins = mysql_query("SELECT coins from account.account WHERE id="..pc.get_account_id().." LIMIT 1;")
                cmdchat("setPP "..coins)
    			cmdchat("SetQuestIndex "..q.getcurrentquestindex())
    		end
    		when button or info begin
    			local items = {
    				[0]={71124, 1, 200},
    				[1]={71125, 1, 200},
    				[2]={71126, 1, 200},
    				[3]={71127, 1, 200},
    				[4]={71128, 1, 200},
    			}
    			local slot = tonumber(achievement_rivalia.GetInput("GetInput"))
                local coins = mysql_query("SELECT coins from account.account WHERE id="..pc.get_account_id().." LIMIT 1;")
    			if coins >= items[slot][3] then
    				local nastavit_mince = mysql_query("UPDATE account.account SET coins ='"..(coins.coins[1]-items[slot][3]).."' WHERE name ='"..pc.get_account_id().."' LIMIT 1")
    				cmdchat("setPP "..coins)
    				pc.give_item2(items[slot][1], items[slot][2])
    			else
    				cmdchat("NieMamPP")
    			end
    		end
    		function GetInput(value)
    			cmdchat("GetInputStart")
    			local ret = input(cmdchat(value))
    			cmdchat("GetInputStop")
    			return ret
    		end
    	end
    end
    

    Any idea how to fix it? Thanks

  5. Hi guys, i find quest for teleport player to player, but here is little problem. This quest use function - getinput:

    quest teleport_to_player_block begin
    	state start begin
    		when login begin
    			cmdchat("teleportacja_block "..q.getcurrentquestindex())
    		end
    		when button or info begin
    			if get_time() < pc.getqf("duration_block") then
    				return
    			end			
    			sname = getinput("getinput")
    			local is_blocked = pc.getf("teleport_to_player_block", sname)
    			if is_blocked == 1 then
    				pc.setf("teleport_to_player_block", sname, 0)
    				syschat("Gracz: "..sname.." został Odblokowany.")
    			elseif is_blocked == 0 then
    				pc.setf("teleport_to_player_block", sname, 1)
    				syschat("Gracz: "..sname.." został Zablokowany.")		
    			end
    			pc.setqf("duration_block",get_time()+1*3*1)
    		end
    	end
    end	
    

    and in-game look like this: zr9QeWM.png

     

    I need that this side of quest will be automatic close, is here some function for that? Thanks for every idea..

  6. Hi all, i have problem i try so much item proto crypter, but still dont working for me, i am using Client__by_[DEV]Games and syserr write me this: 

    1101 09:14:21585 :: CPythonItem::LoadItemTable: invalid item_proto[locale/ro/item_proto] STRIDE[152] != sizeof(SItemTable)
    1101 09:14:21586 :: LoadLocaleData - LoadItemProto(locale/ro/item_proto) Error
    1101 09:14:40766 :: CPythonPlayer::SetItemData(window_type : 5, dwSlotIndex=930, itemIndex=164461) - Failed to item data
    
    1101 09:15:01568 ::
    game.py(line:220) Open
    game.py(line:631) StartGame
    game.py(line:783) RefreshCharacter
    interfaceModule.py(line:573) RefreshCharacter
    uiCharacter.py(line:1113) RefreshCharacter
    uiCharacter.py(line:1158) __SetSkillSlotData
    uiCharacter.py(line:855) RefreshSkill
    uiCharacter.py(line:830) __RefreshSkillPage
    
    GameWindow.Open - :skill.GetSkillType - Failed to find skill by 46
    
    1101 09:15:01568 :: ============================================================================================================
    1101 09:15:01568 :: Abort!!!!
    

    Any idea where i can find working Item_proto_crypter?

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.