Jump to content

ekoo

Inactive Member
  • Posts

    39
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by ekoo

  1. you missing ; it end of code

    from->CreateFly(FLY_SP_MEDIUM, petActor->GetCharacter())

     



    -----------------------------

    Got the error, sometimes I'm wondering about my own stupidness! :D

    Hidden Content

    add ; in end of code at line 2508

     

  2. playerSettingModule.py(line:1385) playerSettingModule.LoadGameData (playerSettingModule.c:37470)
    playerSettingModule.py(line:1229) playerSettingModule.__LoadGameNPC (playerSettingModule.c:35331)
    
    LoadGameData - <type 'exceptions.KeyError'>:'srcFileName'
    ============================================================================================================
    Abort!!!!
    !!! Failed to load game data : STEP [97]
    

     

    Solved

  3.  

    Please explain better...

    Do you know the hack which allow players to create items ? just vizual items ?

    They can show them in trade, pm and chat, but this items are just visual not real.

     

    Is there a way to make the game check if it exist in database ? and after let show them in chat etc ?

     

    Does this glitch work on all items, or just item_quest?

  4. Server: mainline_released

    Client: novaline

     

    Skills are working, but only at M1. You CAN'T make horse skills P. That's why skills don't do damage.

    Have you ever seen a server where you can make horse skills P? Probably not. It's not impossible, but I guess you have to work with DB & server.

    Until then, just make them M1 and give it a try.

    Skill in my char is M1, same problem here

  5.  

    Regarding the player level in pm.. I'm not sure if this works in the latest files but before you did it this way:

     

    Find this in uiwhisper.py:

    net.SendWhisperPacket(self.targetName, text)
    

    Replace it with this:

    net.SendWhisperPacket(self.targetName, "(Lv. " + str(player.GetStatus(player.LEVEL) )+ "):" + text)
    

     

    it works perfectly

    thank you

    what about first question

    do you have any idea ?

     

  6.  

    Hi guys! So I'm trying to create a pvp system with quests, but everytime a player kills another if gives 2 points instead of 1! Anyone can help me with this?

    quest kryzek_pvp begin 
        state start begin 
            when kill begin  
                if npc.is_pc() then 
    pc.give_exp2(21000000) 
    mysql_query("UPDATE player.player SET prestige=prestige+1 WHERE name='"..pc.get_name().."' LIMIT 1") 
                end 
            end 
        end 
    end
    

     

     

    quest kryzek_pvp begin 
        state start begin 
        	when kill with npc.is_pc() begin
    			pc.give_exp2(21000000) 
    			mysql_query("UPDATE player.player SET `prestige`=prestige+1 WHERE `name`='"..pc.get_name().."' LIMIT 1") 
    		end 
    	end 
    end
    
  7. Hi everybody,

     

    I want do function in game source ( mysql query select )

     

    my function

        int _mysql_query_select( lua_State* L ){
            SQLMsg *msg = DBManager::instance().DirectQuery(lua_tostring(L, 1));
    
            if (msg->uiSQLErrno != 0)
                return 0;
        
            MYSQL_RES *res = msg->Get()->pSQLResult;
        
            MYSQL_ROW row = mysql_fetch_row(res);
        
            if (!row)
                return 0;
    
            lua_pushstring(L, row);
            
            return 1;
        }

    error


    questlua_global.cpp: In function 'int quest::_mysql_query_select(lua_State*)':
    questlua_global.cpp:1207: error: cannot convert 'char**' to 'const char*' for argument '2' to 'void lua_pushstring(lua_State*, const char*)'

    :(

     

     

    • Love 1
×
×
  • 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.