Jump to content

HUNgarocel1

Member
  • Posts

    23
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by HUNgarocel1

  1. Hi Devs!

    I put in the system, "The Dungeon Ranking System". Everything okey in client side but, i use the quest for the open the GUI and here the problem.

    Syserr: 

    Mar 19 03:59:27 :: OnClick Yak-Hwan[vnum 20377 ServerUniqueID 41623, pid 0] by DAdmin
    SYSERR: Mar 19 03:59:29 :: RunState: LUA_ERROR: [string "dragonlair_ranking"]:7: attempt to call field `OpenRanking' (a nil value)
    SYSERR: Mar 19 03:59:29 :: WriteRunningStateToSyserr: LUA_ERROR: quest dragonlair_ranking.(null) letter

    questlua_dragonlair.cpp: (I need the questlua.h?)

    Include:
    
    #include "stdafx.h"
    
    #include "questmanager.h"
    #include "DragonLair.h"
    #include "char.h"
    #include "guild.h"
    
    int dl_OpenRanking(lua_State* L)
    	{
    		CDragonLairManager::instance().OpenRanking(CQuestManager::instance().GetCurrentCharacterPtr());
    		return 0;
    	}
    
    
    and
    
    	void RegisterDragonLairFunctionTable()
    	{
    		luaL_reg dl_functions[] =
    		{
    			{	"startRaid",	dl_startRaid	},
    			{	"OpenRanking",	dl_OpenRanking	},
    			{	NULL,			NULL			}
    		};
    
    		CQuestManager::instance(). AddLuaFunctionTable("DragonLair", dl_functions);
    	}

    quest:

     

    quest dragonlair_ranking begin
    	state start begin
    		when login or levelup with pc.get_level() >= 75 begin
    			send_letter("Ejderha Avcýlarý Sýralamasý ")
    		end
    		when button or info begin
    			say_title("Ejderha Bekçisi Yak-Hwan ")
    			say("")
    			say("Ejderha Bekçisi Yak-Hwan seni arýyor onun yanýna gitmelisin. ")
    			local v = find_npc_by_vnum(20378)
    			if 0!=v then
    				target.vid(20378)
    			end
    			set_state(information)
    		end
    	end
    	state information begin
    		when 20378.chat."Ejderha Avcýlarý " begin
    			say_title("Ejderha Bekçisi Yak-Hwan: ")
    			say("")
    			say("Artýk 75. seviyeye ulaþtýn ejderha avcýsý olmaya ")
    			say("hak kazandýn. Her Mavi ejderha öldürüþünde 1 puan ")
    			say("kazanacaksýn. Ve topladýðýn her puan seni sýralamada ")
    			say("tutacak.")
    			say_reward("Ejderha avcýlarý sýralamasýný baþlatmak istiyor musun? ")
    			local s = select("Evet, istiyorum.","Hayýr, istemiyorum. ")
    			if s == 1 then
    				say_title("Ejderha Bekçisi Yak-Hwan: ")
    				say("")
    				say_reward("Ejderha avcýlarý sýralamasý baþladý. ")
    				set_state(farming)
    			else
    			end
    		end
    	end
    	state farming begin
    		when 20378.chat."Ejderha Avcýlarý Sýralamasý " begin
    			say_title("Ejderha Bekçisi Yak-Hwan: ")
    			say("")
    			say("Sýralamayý þimdi açmak istiyor musun? ")
    			local s = select("Evet, istiyorum.","Hayýr, istemiyorum. ")
    			if s == 1 then
    				setskin(NOWINDOW)
    				DragonLair.OpenRanking()
    			else
    			end
    		end
    	end
    end

     Where is the problem u think?

    Thanks for the answer!

    King Regards

  2. Hi!

     

    Check the skilldesc in your client and the number (i colored it red).

     

    example:

     

    1    WARRIOR    Három irányú vágás    Tripla vágás    Tripla metszés    Villámgyorsan vágd meg az ellenséget.    Frontális vágás 3-szor                ATTACK_SKILL|NEED_TARGET|WEAPON_LIMITATION    SWORD|TWO_HANDED    samyeon    1    4            Össz támadó érték %.0f-%.0f    (1.1*MinATK + (0.1*MinATK + 1.5*STR)*SkillPoint) * 3    (1.1*MaxATK + (0.1*MaxATK + 1.5*STR)*SkillPoint) * 3        

     

    I hope, it works for you.

    King Regards

  3. Hi Dev's!

     

    I have a little interesting problem and i dont have any idea what is it.. 

    Problem: (database syslog)

    Spoiler

    Mar  6 22:53:28 :: [    94250] return 0/0/0 async 0/0/0
    Mar  6 22:53:33 :: [    94300] return 0/0/0 async 0/0/0
    Mar  6 22:53:38 :: [    94350] return 0/0/0 async 0/0/0
    Mar  6 22:53:43 :: [    94400] return 0/0/0 async 0/0/0
    Mar  6 22:53:48 :: [    94450] return 0/0/0 async 0/0/0
    Mar  6 22:53:53 :: [    94500] return 0/0/0 async 0/0/0
    Mar  6 22:53:58 :: [    94550] return 0/0/0 async 0/0/0
    Mar  6 22:54:03 :: [    94600] return 0/0/0 async 0/0/0
    Mar  6 22:54:08 :: [    94650] return 0/0/0 async 0/0/0
    Mar  6 22:54:13 :: [    94700] return 0/0/0 async 0/0/0
    Mar  6 22:54:18 :: [    94750] return 0/0/0 async 0/0/0
    Mar  6 22:54:23 :: [    94800] return 0/0/0 async 0/0/0
    Mar  6 22:54:23 :: Current Peer host names...
    127.0.0.1 14099 channel : 99
    127.0.0.1 14900 channel : 1
    127.0.0.1 0 channel : 0

    Mar  6 22:54:28 :: [    94850] return 0/0/0 async 0/0/0
    Mar  6 22:54:33 :: [    94900] return 0/0/0 async 0/0/0
    Mar  6 22:54:38 :: [    94950] return 0/0/0 async 0/0/0
    Mar  6 22:54:43 :: [    95000] return 0/0/0 async 0/0/0
    Mar  6 22:54:48 :: [    95050] return 0/0/0 async 0/0/0
    Mar  6 22:54:53 :: [    95100] return 0/0/0 async 0/0/0
    Mar  6 22:54:58 :: [    95150] return 0/0/0 async 0/0/0
    Mar  6 22:55:03 :: [    95200] return 0/0/0 async 0/0/0
    Mar  6 22:55:08 :: [    95250] return 0/0/0 async 0/0/0
    Mar  6 22:55:13 :: [    95300] return 0/0/0 async 0/0/0
    Mar  6 22:55:18 :: [    95350] return 0/0/0 async 0/0/0
    Mar  6 22:55:23 :: [    95400] return 0/0/0 async 0/0/0
    Mar  6 22:55:23 :: Current Peer host names...
    127.0.0.1 14099 channel : 99
    127.0.0.1 14900 channel : 1
    127.0.0.1 0 channel : 0
     

     

    What is the solution for this?

     

    Thank you in advance for your help!

    Best Regards

    • Scream 1
    • Lmao 5
  4. On 2/23/2021 at 10:49 PM, Aioria said:

    Thank you Vegas y.y Sorry i'm very noob, anyway i got this error now:

     

    234931VirtualBox-Freebsd-11.2-32bit-clea

     

    ----------------------------- EDIT

     

    Ok, I solve that, now it works! anyway I noticed that if a GM send an offline pm, it will be a normal pm, not "GM", I don't know if you want it like this

     What is the solution to this? 

    EDIT: my fault, i was careless while writing.. :P

    • Good 2
    1. Login putty (FreeBSD 11.3)
    2. Write this: portsnap fetch update and portsnap fetch extract - wait 2 minutes.
    3. If you need mysql write this code: pkg install mysql56-server or you need MariaDB write this: pkg install mariadb103-server

    4. Write this code: ee /etc/rc.conf and put this code somewhere: mysql_enable="YES"
      Run mysql: service mysql-server start

    5. download this

      This is the hidden content, please
       and put /usr/lib32 OR upload lib32.tar.gz to /usr/lib32 and write this: cd /usr/lib32 and tar zxf lib32.tar.gz

    6. Now upload your SF and unpack.

    7. Rewrite the config file your IP and reboot.

    I hope it'll work.

    • Metin2 Dev 72
    • kekw 1
    • Eyes 2
    • Dislove 1
    • Cry 1
    • Scream 3
    • Lmao 1
    • Good 40
    • Love 7
    • Love 58
  5. Hy guys!

     

     

    I do not see the properties of the item, why?

     

    Syss: 

     

    
    0227 18:33:51752 :: Traceback (most recent call last):
    
    0227 18:33:51752 ::   File "ui.py", line 1848, in OnOverInItem
    
    0227 18:33:51752 ::   File "ui.py", line 199, in __call__
    
    0227 18:33:51752 ::   File "ui.py", line 190, in __call__
    
    0227 18:33:51753 ::   File "igshop.py", line 383, in OverInItem
    
    0227 18:33:51753 ::   File "uiToolTip.py", line 1257, in AddItemData
    
    0227 18:33:51753 ::   File "uiToolTip.py", line 1656, in __AdjustMaxWidth
    
    0227 18:33:51753 ::   File "uiToolTip.py", line 1668, in __AdjustAttrMaxWidth
    
    0227 18:33:51754 :: IndexError
    0227 18:33:51754 :: : 
    0227 18:33:51754 :: list index out of range
    0227 18:33:51754 :: 

     

  6. 0129 19:54:19095 :: Traceback (most recent call last):
    
    0129 19:54:19095 ::   File "networkModule.py", line 247, in SetGamePhase
    
    0129 19:54:19096 ::   File "game.py", line 99, in __init__
    
    0129 19:54:19096 ::   File "interfaceModule.py", line 352, in MakeInterface
    
    0129 19:54:19096 ::   File "interfaceModule.py", line 181, in __MakeWindows
    
    0129 19:54:19096 ::   File "uiInventory.py", line 266, in __init__
    
    0129 19:54:19096 ::   File "uiInventory.py", line 375, in __LoadWindow
    
    0129 19:54:19096 ::   File "uiInventory.py", line 293, in BindWindow
    
    0129 19:54:19097 :: AttributeError
    0129 19:54:19097 :: : 
    0129 19:54:19097 :: 'InventoryWindow' object has no attribute 'bindWnds'
    0129 19:54:19097 :: 

    Hy guys!

     

    I have problem ?

  7. Hy Devs! (Firstly.. sorry but my english knowledge is not good)

     

    I have a little bug.

     

    The selling price does not work. I modified the selling price of an item (80005-80007).

    Example: Buy this item 20.000.000, its oke. BUT i set sell price same. Just give 4.000.000.

    (This item is only a mistake if it costs millions.)

     

    What is wrong?

     

    Thank you all answer! Have a great day!

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