• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Clary Request thread

Status
Not open for further replies.

Clary

New Member
Joined
Mar 7, 2008
Messages
1,007
Reaction score
1
Do u need any action script? or talk action? or move event?
Request it here and I will make it for u asap if I can


Remember only action, talk & move nothing else.
Move only stepin alone and maybe stepout alone

Yours,
Clary
 
Last edited:
I am trying to make custom wands for my upcoming server and i have been trying to get the wands to use custom hit types for example i want my wand to hit Hit type # 31 the way i found this looktype was with !z "31 using tfs of course =D so if anyone could post a script for a WAND using the hit type look i want PLEASE do so (copy from a allready made thread of mine)
 
Colandus, after 10 minutes it says... Please push the laver. I push it and it dont send that msg: doPlayerSendTextMessage(cid, 22, "You made it newb.")

So something is wrong I think. Also where is the function "kick player" if he dont push the switch ?
 
Here u go Jeff
in items.xml change the wand to this and edit the stuff needed.(in all)
Code:
	<item id="WANDID" article="a" name="WAND NAME">
		<attribute key="description" value="WAND DESCRIPTION"/>
		<attribute key="weight" value=WAND CAP"/>
		<attribute key="weaponType" value="wand"/>
		<attribute key="shootType" value="31"/>
		<attribute key="range" value="4"/>
	</item>
in weapons.xml after
Code:
<wand id="2187" level="33" mana="13" min="55" max="75" type="fire" function="internalLoadWeapon"> <!-- Wand of Inferno -->
		<vocation name="Sorcerer"/>
	</wand>
add this
Code:
	<wand id="WAND ID" level="LEVEL NEEDED TO USE THE WAND" mana="MANA NEEDED PER HIT" min="MIN HIT" max="MAX HIT" type="31" function="internalLoadWeapon"> <!-- WAND NAME -->
		<vocation name="VOC NEEDED TO USE THE WAND"/>
	</wand>
 
Well, now its OK. Just now Clary's I think can done script of Colandus, just add last warning and player kick, for example; "Push the laver or you'll be kicked in minute!" After 1 minute - kick.
 
@Ronaldino I prefer that Colandus do this since I don't think this is the right way
P.S does it kick?
@Jeff np :)
 
PHP:
function warnPlayer(cid)
    setPlayerStorageValue(cid, 1233, TRUE)
    doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Please click the lever or you will be kicked!")
    addEvent(kickPlayer, 1 * 60 * 1000, cid)
end  

function kickPlayer(cid)
   doRemoveCreature(cid)
end

?? ? ?? ? ?
 
aff it doesnt work clary :( it does some lame fire/spear affect when it shoots at the monster :(
 
Nope Marcinek it doesnt work. . . it says "Push the laver or you will be kicked" I push laver and it kick me after 1 minute... so laver didnt work. :D
 
Ok, I were aware of it.

PHP:
local event = 0
function onStepIn(cid, pos) -- idk what args but w/e xD
    event = addEvent(warnPlayer, 10 * 60 * 1000, cid)
    kick = addEvent(kickPlayer, 1 * 60 * 1000, cid)
    return TRUE
end 

function onStepOut(cid, pos)
    if getPlayerStorageValue(cid, 1233) == TRUE then
        setPlayerStorageValue(cid, 1233, FALSE)
    end
    stopEvent(event)
    stopEvent(kick)
    return TRUE
end

function warnPlayer(cid)
    setPlayerStorageValue(cid, 1233, TRUE)
    doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Please click the lever or you will be kicked!")
end  

function kickPlayer(cid)
    if getPlayerStorageValue(cid, 1233) == TRUE then
       doRemoveCreature(cid)
    end
    return TRUE
end
 
/ip is it possible? xD like:


/ip 200.200.200.200

17:04 players online with ip 200.200.200.200:
Nb Name1
Nb Name2
...
 
Status
Not open for further replies.
Back
Top