function set_player_equip_enhance(equip_id,player,enhance,t yp)
local row
--typ 1 = fixed value
--typ 2 = increase current value
--typ 3 = decrease current value
local equip_name = get_item_name_by_code(get_item_code( get_wear_item_handle(equip_id,player)))
if equip_name == "SVR0" or equip_name == nil then
whisper(gv("name"),"No Equip there.")
else
row = "<br>Change's on "..player.."'s Equip<br><br>Before | +"..get_item_enhance(get_wear_item_handle(equip_id ,player)).." "..equip_name.." Lv "..get_item_level(get_wear_item_handle(equip_id,pl ayer)).."<br><br>"
if typ == 1 then
set_item_enhance( get_wear_item_handle(equip_id,player),enhance)
elseif typ == 2 then
set_item_enhance( get_wear_item_handle(equip_id,player),get_item_enh ance(get_wear_item_handle(equip_id,player))+enhanc e)
else
set_item_enhance( get_wear_item_handle(equip_id,player),get_item_enh ance(get_wear_item_handle(equip_id,player))-enhance)
end
row = row.."After | +"..get_item_enhance(get_wear_item_handle(equip_id ,player)).." "..equip_name.." Lv "..get_item_level(get_wear_item_handle(equip_id,pl ayer))
row = row.."<br>Durability : "..(get_item_ethereal_durability(get_wear_item_han dle(equip_id,player))/10000)
dlg_general(row)
end
end
Anyone know how to fix
I didn't try it honestly , but saying it's not working without giving the errors won't help probably .
also maybe it's the t yp on the function name ? try to change it to typ .
it is set to typ
error i get is "No Equip there"
I have tried different equips, fully equipped, only 1 item equiped
Nothing seems to work, always the same error
it is set to typ
error i get is "No Equip there"
I have tried different equips, fully equipped, only 1 item equiped
Nothing seems to work, always the same error
Where you got the lua from ? because I never seen this release for Raskim and you should be missing something here .(equip_id,player,enhance,typ)
If you only have this lua without anything else then it's not going to work by itself without giving values to what I mentioned above .
I am trying to install 9.1 version of the Rappelz P server.
Everything works exept for one thing:
When I type my credentials (in the Client) and I press login nothing happens.
When I look back at the Auth server (yes I did use the commands) I am getting the following error:
crypto DecryptForSecret password failed. (username) at 127.0.0.1
(it doesn't matter what I fill in as credentials)
I have rerunned the installation process but I keep getting this error.
It's nothing hard , simply copy one line from FieldPropResource , give a new unique ID , write something on script_text column , let's say Teleport_portal() as an example
Make a lua function :
Code:
function Teleport_portal()
warp(X_here , Y_here)
end
and you are good to go , just make sure to make the .RDB and hash it and put it in your Client resources.
Thanks again BlackCat for your help.
I do however have another question if somebody could please help me.
How do i place the portal where i want it? i didn't see any position x and y in the FieldPropResource
You do that by using QPF editor ( I'm not sure if there is any public releases) .
So if you don't find any .. you could simply spawn it on server_ini.lua , add FieldProp_Server() function on the server_ini function like this :
Code:
function on_server_init()
roaming()
rare_mob()
guardian_spawn()
random_respawn()
FieldProp_Server()
end
function FieldProp_Server()
local prop_z_offset = 0
local layer = get_value("layer")
add_field_prop( 123456, 0, 152744,77233, layer, prop_z_offset )
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""