• 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!

Epic Promotion

Status
Not open for further replies.

Dattler

Dattler Twoim Panem :D
Joined
Jan 22, 2010
Messages
37
Reaction score
0
Witam drodzy Otlanodiwcze
Hmm, stawiam ots pod tibie 8.54 i chce zrobic jakies nowe profesje
Skrypt zdoybłem od Texona :
Wygląda on tak
HTML:
function onUse(cid, item, fromPosition, itemEx, toPosition)
	if getPlayerPromotionLevel(cid) == 1 then
		doPlayerSetPromotionLevel(cid, 2)
		doSendMagicEffect(toPosition, CONST_ME_MAGIC_RED)
		doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "Now you are "..getPlayerVocationName(cid)..".");
		doRemoveItem(item.uid, 1)
	else
		doPlayerSendCancel(cid,"You need to be promoted in order to use this item.")
	end
end
vocations.xml sam zroibłem wygląda to tak :
HTML:
	<vocation id="9" name="Epic Sorcerer" description="an epic sorcerer" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="10" gainmanaticks="2" gainmanaamount="10" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="5" lessloss="50">
		<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
		<skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/>
	</vocation>
	<vocation id="10" name="Epic Druid" description="an epic druid" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="10" gainmanaticks="2" gainmanaamount="10" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="6" lessloss="50">
		<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
		<skill fist="1.5" club="1.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/>
	</vocation>
	<vocation id="11" name="Epic Paladin" description="an epic paladin" needpremium="0" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="10" gainmanaticks="3" gainmanaamount="10" manamultiplier="1.4" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="7" lessloss="50">
		<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
		<skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/>
	</vocation>
	<vocation id="12" name="Epic Knight" description="an epic knight" needpremium="0" gaincap="25" gainhp="15" gainmana="5" gainhpticks="8" gainhpamount="10" gainmanaticks="4" gainmanaamount="10" manamultiplier="3.0" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="8" lessloss="50">
		<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
		<skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/>
	</vocation>
i jak player kilka na Runke która daje promo, nie ma wogule pormocji w konsoli mam takie bledy :
HTML:
[Warning - Vocations::getVocation] Vocation 4294967295 not found.
[Warning - Vocations::getVocation] Vocation 4294967295 not found.
[Warning - Vocations::getVocation] Vocation 4294967295 not found.
Pomoże ktoś?
 
.ooo.
Dattler
Zapomniałeś o jednej rzeczy dodać
To tak
OTS/data/lib/vocations.lua
i dodaj 9, 10, 11, 12 i powino byc GIT :)
 
.ooo.
Dattler
Zapomniałeś o jednej rzeczy dodać
To tak
OTS/data/lib/vocations.lua
i dodaj 9, 10, 11, 12 i powino byc GIT :)


Kurwa dalej nie działa

pomoże ktoś
 
Last edited by a moderator:
nie poleci :)
i nie mam zamiaru płacić ...
 
Dołaczam sie w tym temacie też mam problem ze zrobieniem epic w wersji 8.54
 
dattler i texon stara ekipa mocnego pierdolnięcia :). Podobno mnie sprzedałeś jak to będzie prawda to lepiej nie stawiaj ots albo przeproś :)

@edit a co do skryptu to pewnie texon go jeszcze napisał buahahaha
 
Tak trudno skorzystać z Search???

Wczoraj czy tam 2 dni temu odpowiadałem na podobny temat, a skoro nie chce Ci się nawet poszukać to nie zabieraj się za otsy bo widzę że pojęcia nie masz żadnego.

Code:
[Warning - Vocations::getVocation] Vocation 4294967295 not found.
Mówi samo za siebie.
 
Status
Not open for further replies.
Back
Top