function get_module_name()
return "Meine_Lua"
end
function test_contact()
dlg_title("Subject")
dlg_text("What do you want?")
dlg_menu("Back.", "")
dlg_show()
end
1.Question:
How do i have to name the .lua?
my other .lua-files in a folder look like:
9436be3b0987ccc10977e838ae234d88.lua
Is it dispending to the return "meine_lua"?
2.Question:
What makes the "dlg_title" nowhere i see something with "Subect"
when i klick on an NPC, but it is important to use, else
there are ?????????? in the text
I just tested master hammer on my server and it worked fine.
You need to use the repair window and place the broken armor in the target slot and the hammer in the materials slot.
Maybe you have the wrong item IDs
But it does not work in the combine window as you were saying before. It says right on the hammer tool tip to use the repair window.
And that is what the prob was. I must have scrambled the ID during one of my item insertion trials. Thank you for pointing me in right direction.
One last question remains....precisely how to edit (add/ change the price of) the npcs items? I read the "guide" on custom NPCs...but it is ...somewhat vague on a few details...and I'm not sure if it is compatible with the 8.1 files.
There use to be a comprehensive guide on this....but ...it seems to have vanished.
Hello,
Quick couple questions, Maybe someone could answer them for me.
1. how to rename a custom npc
2. Looking for a retail dbo.marketresource, dont want anyones added stuff or kts stuff. want to add me own stuff.
3. looking for added dungeons or pets or other stuff to add to my server
4. how to change the pictures on game start
5. anyone got any codes for Lillith and Mephisto
Thank you again
what kind of shop?
Have there be only items? so u first have to insert the items in the MarketResource in the Db: Arcadia
like:
USE [Arcadia]
GO
INSERT INTO [dbo].[MarketResource]([sort_id],[name],[code],[price_ratio],[huntaholic_ratio],[arena_ratio])
VALUES ((select MAX(sort_id) FROM MarketResource)+1,'my_super_duper_market' ,ITEM ID,1,0,0)
GO
function change_tp_for_jp()
local jp = get_value("jp")
jp = tonumber(jp)
local tp = get_value("tp")
tp = tonumber(tp)
if jp >= 1000000 then
sv("jp", jp-100000)
sv("tp", tp+1)
else then
notice("Hey everyone, "..get_value("name").." has not enough JP to change :D")
end
end
USE Arcadia
UPDATE NPCResource
SET local_flag = -1
WHERE contact_script LIKE '%NPC_event_2012_Xmas%'
Quote:
Originally Posted by tokesbowls
Hello,
Quick couple questions, Maybe someone could answer them for me.
1. how to rename a custom npc
2. Looking for a retail dbo.marketresource, dont want anyones added stuff or kts stuff. want to add me own stuff.
3. looking for added dungeons or pets or other stuff to add to my server
4. how to change the pictures on game start
5. how to make a custom launcher
Thank you again
First of all:
What do you really want to do?
Do you want to make it professional or for hobby?
I think some numbers (#3, #4) seems to be needed more time you need for doing this.
#2:
what do you mean with "own stuff"?
stuff which you createt at your PC?
then you have to insert first the stuff in the DB. like in the db.ItemResource
if you have this section done then you can insert the id off the stuff in the Market Resource
see the post #1943 above
#5:
For awnsering two questions i think maybe nobody would read my question two pages before:
Quote:
Originally Posted by asthos
Ok next Question about .lua Files
If i want to crate a new file with the heading:
Code:
function get_module_name()
return "Meine_Lua"
end
function test_contact()
dlg_title("Subject")
dlg_text("What do you want?")
dlg_menu("Back.", "")
dlg_show()
end
1.Question:
How do i have to name the .lua?
my other .lua-files in a folder look like:
9436be3b0987ccc10977e838ae234d88.lua
Is it dispending to the return "meine_lua"?
2.Question:
What makes the "dlg_title" nowhere i see something with "Subect"
when i klick on an NPC, but it is important to use, else
there are ?????????? in the text
what kind of shop?
Have there be only items? so u first have to insert the items in the MarketResource in the Db: Arcadia
like:
USE [Arcadia]
GO
INSERT INTO [dbo].[MarketResource]([sort_id],[name],[code],[price_ratio],[huntaholic_ratio],[arena_ratio])
VALUES ((select MAX(sort_id) FROM MarketResource)+1,'my_super_duper_market' ,ITEM ID,1,0,0)
GO
function change_tp_for_jp()
local jp = get_value("jp")
jp = tonumber(jp)
local tp = get_value("tp")
tp = tonumber(tp)
if jp >= 1000000 then
sv("jp", jp-100000)
sv("tp", tp+1)
else then
notice("Hey everyone, "..get_value("name").." has not enough JP to change :D")
end
end
First of all:
What do you really want to do?
Do you want to make it professional or for hobby?
I think some numbers (#3, #4) seems to be needed more time you need for doing this.
#2:
what do you mean with "own stuff"?
stuff which you createt at your PC?
then you have to insert first the stuff in the DB. like in the db.ItemResource
if you have this section done then you can insert the id off the stuff in the Market Resource
see the post #1943 above
#5:
For awnsering two questions i think maybe nobody would read my question two pages before:
1. Id like to the shop to be names what its selling, like say a weapon shop or pet shop, so forth
2. im looking for a retail dbo.itemresource. one with out the kts adds or someones shop adds. the one im currently using has been modded/added to. Im not sure what to remove with out hurting the game.
5. thank you
So ive been trying to make a launcher with visual basic 2010
apon make my start button, in the video im watching it has me direct it to the games exe.
well im using a .bat and it doesnt work. does anyone know what im supposed to put in there?
thank you again
1. Edit the two name columns for the NPC in the dbo.StringResource
2. Create a new db_string(ascii).rdb for the client after editing the server database.
Or
1. Change the string value in the name columns for a string value that says what you want it too.
Then there is no need for client update.
Use a query to search your string DB to find strings you may like, something like...
select * from arcadia.dbo.stringresource where (Type field you want to search here) like '%(search term here)%'
Just enter the field and the term without the ()
Quote:
Originally Posted by tokesbowls
So ive been trying to make a launcher with visual basic 2010
apon make my start button, in the video im watching it has me direct it to the games exe.
well im using a .bat and it doesnt work. does anyone know what im supposed to put in there?
thank you again
I am not sure what you are doing but I dont think you can direct it toward your .bat but I think you need to type your .bat arguments in.
function change_tp_for_jp()
local jp = get_value("jp")
jp = tonumber(jp)
local tp = get_value("tp")
tp = tonumber(tp)
if jp >= 1000000 then
sv("jp", jp-100000)
sv("tp", tp+1)
else then
notice("Hey everyone, "..get_value("name").." has not enough JP to change :D")
end
end
[Helping Topic] 24/7 Helping Services! 08/27/2008 - EO PServer Hosting - 31 Replies stucked on anything while setuping your server?
post your problem here and you will get answer as fast as possible better than spamming with posts :cool:
first of all try reading Ahmedpotop's Pserver All thing guide.
if your couldn't solve it out post your problem down here
""That includes PHP rankings pages / registrations pages / Status pages""