[Help Thread] Please post your questions here.

07/31/2015 18:38 ThunderNikk#4981
I think it may mean just what it says...

SCRIPT_WarpToInstanceDungeon() : invalid name

The entire script call name is incorrect...

NPC_Teleport_instanceDuneGeon_contact()

Unless you have a...

WarpToInstanceDungeon()

script that you are still not showing us.
07/31/2015 19:20 SeevanXT#4982
hmm there are no function WarpToInstanceDungeon() in anny Lua.
Is there another way to warp into the correct instance by using a NPC?
07/31/2015 21:59 ThunderNikk#4983
The NPCs contact_script has to match the .lua function it calls.

Check your NPCs contact_script in the dbo.NPCResource and see what it is.

All of the instance dungeon NPCs should have the same contact_script because it is supposed to call the same .lua

According to what you posted here it could be...

NPC_Teleport_instanceDuneGeon_contact()

The spelling is atrocious but it would work with your .lua posted here.

Or change this .lua script here to match what you are calling...

function WarpToInstanceDungeon()

It is the name of the NPCs contact_script that actually triggers the game server to read the same named .lua function.
08/01/2015 04:53 Izanagi-no-Mikoto#4984
Does anyone know where the actual mob zones are called? Is it built into the game or is there somewhere in a lua or the database? Been looking for the actual zone calls with their local IDs and zone limits (Left, Top, Right, Bottom) but I can't seem to find the standard field zone calls....
08/01/2015 16:07 Aigens1337#4985
how to fix in 8.1 server the titles some are emtpy string ? =o
08/01/2015 16:58 SeevanXT#4986
Quote:
Originally Posted by Aigens1337 View Post
how to fix in 8.1 server the titles some are emtpy string ? =o
You do not have the full 8.1 strings, your have to [Only registered and activated users can see links. Click Here To Register...] you 8.1 Client and [Only registered and activated users can see links. Click Here To Register...].


Quote:
Originally Posted by thndr View Post
The NPCs contact_script has to match the .lua function it calls.

Check your NPCs contact_script in the dbo.NPCResource and see what it is.

All of the instance dungeon NPCs should have the same contact_script because it is supposed to call the same .lua

According to what you posted here it could be...

NPC_Teleport_instanceDuneGeon_contact()

The spelling is atrocious but it would work with your .lua posted here.

Or change this .lua script here to match what you are calling...

function WarpToInstanceDungeon()

It is the name of the NPCs contact_script that actually triggers the game server to read the same named .lua function.
The NPCs contact_script is NPC_Teleport_instanceDuneGeon_contact() and i have searched all the lua files and there is no WarpToInstanceDungeon

Now i think need another way to Warp in Instance Dungeon but i dont know how can make it.
Can annyone Help me there PLZ
08/01/2015 17:40 ThunderNikk#4987
So why doesn't the script you posted here work?

This is the instance dungeon script in my .lua...

Code:
function NPC_Teleport_instanceDuneGeon_contact()
 	
	local npc_id = get_npc_id()
	local level = get_value( 'level' )
	
		if level < 160 then
	
			if npc_id == 11812 then
				dlg_title( "@90605758" )--¼±¹ß´ë Àè
				dlg_text( "@90605763" )		
					
			elseif npc_id == 11813 then
				dlg_title( "@90605759" )--¼±¹ß´ë ÄÉÀÌÆ®
				dlg_text( "@90605763" )		
					
			elseif npc_id == 11814 then
				dlg_title( "@90605760" )--¼±¹ß´ë »çÀ̵å
				dlg_text( "@90605763" )		
			elseif npc_id == 11815 then
				dlg_title( "@90605761" )--¼±¹ß´ë Áø¼ö
				dlg_text( "@90605763" )		
			elseif npc_id == 13000 then
				dlg_title( "@90606149" )--¼±¹ß´ë ÇÇ¿¡ (¼*Ä¿½º)
				dlg_text( "@90605763" )	
			end
					
					
		elseif level >= 160 then
	
			if npc_id == 11812 then
				dlg_title( "@90605758" )--¼±¹ß´ë Àè
				dlg_text( "@90605762" )
				dlg_menu("@690000090", "warp_to_instance_dungeon(40000, 0)")--¸Þ¸¶¸¥ µôºû À¯Àû ÁöÇϱâÁö 1´Ü°è ÀÔÀå
				dlg_menu("@690000091", "warp_to_instance_dungeon(40000, 1)")--¸Þ¸¶¸¥ µôºû À¯Àû ÁöÇϱâÁö 2´Ü°è ÀÔÀå
				dlg_menu("@690000092", "warp_to_instance_dungeon(40000, 2)")--¸Þ¸¶¸¥ µôºû À¯Àû ÁöÇϱâÁö 3´Ü°è ÀÔÀå
				dlg_menu("@690000093", "warp_to_instance_dungeon(40000, 3)")--¸Þ¸¶¸¥ µôºû À¯Àû ÁöÇϱâÁö 4´Ü°è ÀÔÀå
				
			elseif npc_id == 11813 then
				dlg_title( "@90605759" )--¼±¹ß´ë ÄÉÀÌÆ®
				dlg_text( "@90605762" )	
				dlg_menu("@690000090", "warp_to_instance_dungeon(41001, 0)")--¹ß¸ð¾î 걤 ÁöÇϱâÁö 1´Ü°è ÀÔÀå
				dlg_menu("@690000091", "warp_to_instance_dungeon(41001, 1)")--¹ß¸ð¾î 걤 ÁöÇϱâÁö 2´Ü°è ÀÔÀå
				dlg_menu("@690000092", "warp_to_instance_dungeon(41001, 2)")--¹ß¸ð¾î 걤 ÁöÇϱâÁö 3´Ü°è ÀÔÀå
				dlg_menu("@690000093", "warp_to_instance_dungeon(41001, 3)")--¹ß¸ð¾î 걤 ÁöÇϱâÁö 4´Ü°è ÀÔÀå
				
						
			elseif npc_id == 11814 then
				dlg_title( "@90605760" )--¼±¹ß´ë »çÀ̵å
				dlg_text( "@90605762" )
				dlg_menu("@690000090", "warp_to_instance_dungeon(42001, 0)")--¼öÁ¤°è°î ÁöÇϱâÁö 1´Ü°è ÀÔÀå
				dlg_menu("@690000091", "warp_to_instance_dungeon(42001, 1)")--¼öÁ¤°è°î ÁöÇϱâÁö 2´Ü°è ÀÔÀå
				dlg_menu("@690000092", "warp_to_instance_dungeon(42001, 2)")--¼öÁ¤°è°î ÁöÇϱâÁö 3´Ü°è ÀÔÀå
				dlg_menu("@690000093", "warp_to_instance_dungeon(42001, 3)")--¼öÁ¤°è°î ÁöÇϱâÁö 4´Ü°è ÀÔÀå
				
						
			elseif npc_id == 11815 then
				dlg_title( "@90605761" )--¼±¹ß´ë Áø¼ö
				dlg_text( "@90605762" )
				dlg_menu("@690000090", "warp_to_instance_dungeon(43001, 0)")--ºÓÀº °Å¹Ì ¼*Ä¿½º 1´Ü°è ÀÔÀå
				dlg_menu("@690000091", "warp_to_instance_dungeon(43001, 1)")--ºÓÀº °Å¹Ì ¼*Ä¿½º 2´Ü°è ÀÔÀå
				dlg_menu("@690000092", "warp_to_instance_dungeon(43001, 2)")--ºÓÀº °Å¹Ì ¼*Ä¿½º 3´Ü°è ÀÔÀå
				dlg_menu("@690000093", "warp_to_instance_dungeon(43001, 3)")--ºÓÀº °Å¹Ì ¼*Ä¿½º 4´Ü°è ÀÔÀå

			elseif npc_id == 13000 then
				dlg_title( "@90606149" )--¼*Ä¿½º ÀÔÀå npc
				dlg_text( "@90606148" )
				dlg_menu("@690000141", "warp_to_instance_dungeon(50000, 0)")--ºÓÀº °Å¹Ì ¼*Ä¿½º 1´Ü°è ÀÔÀå
				dlg_menu("@690000142", "warp_to_instance_dungeon(50000, 1)")--ºÓÀº °Å¹Ì ¼*Ä¿½º 2´Ü°è ÀÔÀå
				dlg_menu("@690000143", "warp_to_instance_dungeon(50000, 2)")--ºÓÀº °Å¹Ì ¼*Ä¿½º 3´Ü°è ÀÔÀå
				dlg_menu("@690000144", "warp_to_instance_dungeon(50000, 3)")--ºÓÀº °Å¹Ì ¼*Ä¿½º 4´Ü°è ÀÔÀå
						
			end	
			
		end
		
		dlg_menu( "@90010002", " " )
			

	dlg_show()
	
end
08/01/2015 18:34 Aigens1337#4988
I imported the strings from the official client and updated the Database

hmm...
08/01/2015 19:17 ThunderNikk#4989
Are you having trouble with 9.1 strings that were not available in 8.1

If so you are trying to update the database strings to include the 9.1 strings.

You will also need to update the db_string.rdb or the db.string(ascii).rdb and hash it with the proper hash name for your launch arguments, for the clients resource folder.
08/01/2015 20:37 SeevanXT#4990
i dont know wy it wannd work when i click ingame on 1 of the 5 NPC`s and click on a Warp Menu nothing do and the System chat say " SCRIPT_WarpToInstanceDungeon() : invalid name "

WarpToInstanceDungeon() must be warp_to_instance_dungeon(40000, 0)
but way the game say "invalid name" i dont konw my Instance Dungeon ID`s are the same as the NPC_Teleport_instanceDuneGeon_contact() call.
08/01/2015 21:31 Izanagi-no-Mikoto#4991
I got totally skipped over.... sadness.....

@Algens1337 <<< If your using the US/Webzen/Gala client(s) you need to replace the db_strings(ascii).rdb not the db_strings.rdb. The ASCII rdbs have the english translations in them. Then hash it using the following:
Quote:
!PWS)3rDAd3O'`dU+O}deN
Changing the strings in the database is irrelevant, it has no affect on the client, only the client's rdb string files actually affect what you see in the client, the database string resource is just a reference for the server side. So you can change the rdb and not the database and the client will still work using the built in rdb files.

It's also possible that your titles aren't setup properly. If they don't have the correct string id references then the title texts wont show up correctly.
08/02/2015 16:18 noobeee#4992
Hey guys anyone able to help me out on the SQL errors i got below when updating?


smp_update_takeout_info.sql

[Only registered and activated users can see links. Click Here To Register...]

and on

add_paiditem_to_91.sql

[Only registered and activated users can see links. Click Here To Register...]
08/02/2015 16:58 Izanagi-no-Mikoto#4993
Ok I'll try asking again... Does anyone know where the server calls for the creation of mobs within a zone, you know where it designates the field IDs, making calls to the mob( ID, top, left, bottom, right) respawn function.... Trying to figure out where it makes those standard calls and designates which zones are which....
08/02/2015 17:47 アルカード#4994
Is there a command that u can use to spawn item for a player in they inventory or wearhouse or itembox?
08/02/2015 18:42 ThunderNikk#4995
Quote:
Originally Posted by noobeee View Post
Hey guys anyone able to help me out on the SQL errors i got below when updating?


smp_update_takeout_info.sql

and on

add_paiditem_to_91.sql
It looks like you have already committed the changes to your database.