i tried to make a working script on the fly, might be working or not but should give you and idea. for your drop issue i'd check
void StructMonster:rocDropItem
Quote:
Originally Posted by Mogmurch
Hi there, I first want to thank everybody that helps with the queries, it is much appreciated. I am enjoying what I am doing and learning how to adjust/fix things in the game with your help.
If someone could please give me a heads up as to how to fix the two issues that I have that would be great
1) I would like my NPC to quick sell stones that I loot, a sample of my script is
the problem is that this script only sells one of each different stone
2) adding pet card (FP) to drop table, i assign a number to the card in the MonsterResource drop table link id, I use the same number in the MonsterDropTableResource ID and card in the drop item ID then using 1 in the next five columns but I don't get any FP drops.
I do hash the MonsterResource to the client.
Thanks for the help in advance
Code:
quick_salestone = {805103, 805104, 805105, 805106,}
function sell_stones()
local vigor_list_count = table.getn(quick_salestone)
for i = 1, vigor_list_count do
local item_num = find_item(quick_salestone[i])
local item_handle = get_item_handle(quick_salestone[i])
if item_num > 0 and is_erasable_item(item_handle) == 1 then
local payment = (get_item_price(item_handle) / 4) * item_num
local item_name = "@" .. tostring(get_item_name_id(quick_salestone[i]))
delete_item(item_handle, item_num)
insert_gold(payment)
message(sconv("@268", "#@item_num@#", tonumber(item_num), "#@item_name@#", tostring(item_name)))
message(sconv("@252", "#@gold@#", tonumber(payment)))
end
end
end
Not sure if this forum is still active in helping but I'll give it a shot anyway as I cannot work this out.
I am using this script to spawn mobs to tame
Quote:
function spawn_mobs_to_tame()
dlg_title("@90702401")
dlg_text("Which mob would you like to spawn?")
Not sure if this forum is still active in helping but I'll give it a shot anyway as I cannot work this out.
I am using this script to spawn mobs to tame
I have tried
I have tried but failed to get the script to spawn ten mobs instead of just one at a time.
it didn't have an auth bin, neither the opt or princessaurora.exe,
I sourced one from another repack just to check if it would work, but as you guessed, it didn't work (it does connect to the DB and captainherlock does connect to it) but the game starts then it crashes after 3-5secs, I don't know what to do, i searched for every mirror link for openrz if it has its own auth files but non has,
can anyone help (
[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""