How to fix Vulcanus Text??

12/17/2012 17:51 hiderian#1
When I go to the next floor at Vulcanus Dungeon, the message in the box is very strange like "Entrance to #@next_floor@#F Basement (Requires #`next_item_count@# Tiny Souls)" The message should say "Entrance to 1F Basement Requires 20 Tiny Souls" like that... How can I fix it? I am using 7.4 Client and 7.4 Server Files. I have tried to fix StringResource and lua file but nothing change. Thank you.
12/18/2012 01:09 TheBrain_#2
The answer is simple.

If the database is right, and you have tried converting it to an rdb.
it should display the right amount.

if not, eitherway 2 things can happen :

1. The lua file has the wrong argument matching the database & gameserver.
2. The gameserver doesnt have an code named #@next_item_count@# existing.
12/18/2012 01:55 hiderian#3
How can I check the gameserver has an code named #@next_item_count@# or not?

The dbo.StringResource has "indun_ui_text9799" and "indun_ui_text9800" which are the message, "Entrance to #@next_floor@#F Basement (Requires #@next_item_count@# Souls)<(version:7.3)>". However, the lua ,"etc_dungeon_prop", doesn't have the code such as 9799 and 9800. I guess the lua should have that code but I dunno how to edit them. I think the lua and the database are matching but I'll try to make sure again.

Thanks.
12/18/2012 07:29 TheBrain_#4
Well here's an easy fix onto that.

just by reading the lua, you can see howmany souls it requires to delete.
to get to the next room.

you can eitherway :

write it in there with <#htmlcolorcode>Tiny Souls (20)<#FFFFFF>

or you can keep searching for the problem wich is probaly nasty, since 9799 and 9800 are not even flagged in my 8.1 files.

( i dont have a database, but i could be wrong. )

goodluck.
12/18/2012 10:37 marekrndr#5
Isn't there a Vulcanus fix released here..?
12/18/2012 13:58 hiderian#6
I cannot findout the requirement of entrance to next floor in the lua. Perhaps, is it about "enter_other_instance_dungeon( dungeon_id, floor, next_floor, current_item_count, next_item_count )"? If so, how can I put <#htmlcolorcode>Tiny Souls (20)<#FFFFFF> on it?

Well, you can check my lua in the following.

Code:
function enter_vulcanus()

	local level = get_value( 'level' )
	local count = find_item( 1000401 )
	local party_id = get_value('party_id')
	
	if level >= 30 then

		if count == 0 then

			cprint( "@9811" )

		elseif count >= 20 then
		
			if party_id == 0 then

				cprint( "@9812" )

				dlg_special('confirm_window', 'warp_to_instance_dungeon(20000)', '@9805\v#@dungeon_name@#\v@80020000' )

				if quest_progress_3367 == 1 then
					set_quest_status( 3367, 1, 1 )
					cprint( "@90604746" ) -- <(version:8.1)><#6DD66D>
				end
				
			else 

				cprint( "@9247" )
				return
			end

		elseif count >= 1 and count < 20 then

			cprint( "@9810" )
			return
		else
			cprint("ソ。キッ") --- I dunno what is this??
		end

	else

	cprint( "@9251" )

	end

end

function enter_other_indun( dungeon_id, current_floor, next_floor, current_item_count, next_item_count )
	if dungeon_id == 20000 then

		local floor = current_floor
		local flag = 'Vul' .. tostring( current_floor )
		local floor_flag = get_instance_dungeon_flag( dungeon_id, gv( 'layer' ), flag )
		
			if floor_flag == 15 then
				floor = -1
			end

		cprint( "@9812" )
		
		enter_other_instance_dungeon( dungeon_id, floor, next_floor, current_item_count, next_item_count )

	end
end

function warp_indun( instance_dungeon, floor )

	if instance_dungeon == 20000 then

		local flag = 'Vul' .. tostring( floor )
		local floor_flag  = get_instance_dungeon_flag( instance_dungeon, gv( 'layer' ), flag )
		local gate_num = 1
		local room_list = {}
		local room_count = 0

		if floor_flag == 15 then
			return
		end
		
		if floor == 4 then

			warp_floor( floor, gate_num )

		else

			if floor_flag ~= nil and floor_flag ~= "" then

				if floor_flag == 0 or floor_flag == 2 or floor_flag == 4 or floor_flag == 8 or floor_flag == 6 or floor_flag == 10 or floor_flag == 12 or floor_flag == 14 then
					room_list[ room_count + 1 ] = 1
					room_count = room_count + 1
				end
					

				if floor_flag == 0 or floor_flag == 1 or floor_flag == 4 or floor_flag == 8 or floor_flag == 5 or floor_flag == 9 or floor_flag == 12 or floor_flag == 13 then
					room_list[ room_count + 1 ] = 2
					room_count = room_count + 1
				end
			
				if floor_flag == 0 or floor_flag == 1 or floor_flag == 2 or floor_flag == 8 or floor_flag == 3 or floor_flag == 9 or floor_flag == 10 or floor_flag == 11 then
					room_list[ room_count + 1 ] = 3
					room_count = room_count + 1
				end
				
				if floor_flag == 0 or floor_flag == 1 or floor_flag == 2 or floor_flag == 4 or floor_flag == 3 or floor_flag == 5 or floor_flag == 6 or floor_flag == 7 then
					room_list[ room_count + 1 ] = 4
					room_count = room_count + 1
				end
			end

			gate_num = math.random( 1, room_count ) 
						
			warp_floor( floor, room_list[ gate_num ] )
					
		end
		
	end	
	
end
Also, I can't understand why "indun_ui_text9799" and "indun_ui_text9800" are NOT affected on Version 7.4. I tried to fix both of them but nothing has changed as I said before. "indun_ui_text9801" through "indun_ui_text9804" which are about Vulcanus are affected on Version 7.4 though.

Anyway, I uploaded the Image of Vulcanus Text ERROR. (I found this Image on google while I'm serching about the ERROR.)
12/18/2012 14:06 hiderian#7
Quote:
Originally Posted by marekrndr View Post
Isn't there a Vulcanus fix released here..?
I don't have Vulcanus fix and also I counldn't findout the released file:(
12/18/2012 16:13 TheBrain_#8
Call c1ph3r he may give you if you ask him nicely ;)
12/19/2012 22:35 hiderian#9
Quote:
Originally Posted by TheBrain_ View Post
Call c1ph3r he may give you if you ask him nicely ;)
I have tried to setup with both 7.3 and 7.4 Clients & Servers all the time. However, all of them doesn't display the message correctly. I'm not sure but it's my fault or it's just a bug... Anyway, thanks for your advice and I'm gunna keep working:p