Forum nie tylko o Tibii i OTS...

Nie tylko o Tibii i OTS...


#1 2008-01-22 14:27:55

Na Fali

http://i37.tinypic.com/okc0lk.gif

Zarejestrowany: 2008-01-02
Posty: 3

Pomocy!!! Jak zrobić Account Managera??

:)Cześć! Mam taki problem: Niewiem jak zrobić Account Managera!!! jeżeli ktoś mi napisze jakiś mały poradniczek "Jak zrobić Account Manager" temu dam GMa!!! Lub postać z extra itemamy i chatą:P (albo co będzie chciał). Bo OTS jest spoko i niewarto go wywalać z tego powodu, że niewiem jak się AccManager robi...Mapka YurOTS na max przerobiona!
----------------------------------------------------------------------------
Jeżeli ktoś powie jak zrobić AccMakera to też uznaje (WebServ mam ściągniety i No-IP.   Tito

Offline

 

#2 2008-01-22 15:02:02

Kajtek

http://i38.tinypic.com/avakh.gif

328432
Call me!
Zarejestrowany: 2007-12-24
Posty: 73
WWW

Re: Pomocy!!! Jak zrobić Account Managera??

Jak mi dasz  GMa i ta mape dam ci acc menagera ;p


http://r5.fodey.com/1e87448ad9a0d4768a424147325b4a6f6.1.gif
Ip 83.144.112.190 Acc http://83.144.112.190/ tIBIA 7.6 mAPA Fajna Lekkie Lagi Exp 250

Offline

 

#3 2008-01-22 15:57:02

piternet

http://i36.tinypic.com/28i01e0.gif

Zarejestrowany: 2008-01-12
Posty: 251

Re: Pomocy!!! Jak zrobić Account Managera??

A więc tak...
Chcesz acc manager na stronce czy na passach 111111/tibia ?

Masz tu acc managera na passach 111111/tibia :

W folderze account zrób nowy plik o nazwie 111111.xml  (oczywiście rozszerzenie pliku to .xml)
Wklejasz tam taki tekst:

Spoiler:

<?xml version="1.0"?>
<account pass="tibia" premDays="0" premEnd="0"><characters><character name="Account Manager"/></characters></account>

Potem w folderze players plik o nazwie Account Manager.xml.
Do niego wklejasz:

Spoiler:

<?xml version="1.0" encoding="UTF-8"?>
<player name="Account Manager" account="111111" sex="1" lookdir="2" exp="4200" voc="1" level="8" access="0" cap="380" maglevel="0" soul="0" maxdepotitems="1000" lastlogin="0">
  <spawn x="1000" y="1000" z="7"/>
  <temple x="1000" y="1000" z="7"/>
  <health now="190" max="190" food="0"/>
  <mana now="40" max="40" spent="0"/>
  <skull redskulltime="0" redskull="0"/>
  <look type="128" head="0" body="94" legs="126" feet="81" addons="0"/>
  <skills>
    <skill skillid="0" level="10" tries="0"/>
    <skill skillid="1" level="10" tries="0"/>
    <skill skillid="2" level="10" tries="0"/>
    <skill skillid="3" level="10" tries="0"/>
    <skill skillid="4" level="10" tries="0"/>
    <skill skillid="5" level="10" tries="0"/>
    <skill skillid="6" level="10" tries="0"/>
  </skills>
  <addons/>
  <deaths/>
  <spells/>
  <blessings/>
  <inventory>
    <slot slotid="1">
      <item id="2457"/>
    </slot>
    <slot slotid="2">
      <item id="2173"/>
    </slot>
    <slot slotid="3">
      <item id="1988">
        <inside>
          <item id="2160" count="2"/>
          <item id="2190"/>
          <item id="2182"/>
          <item id="2456"/>
          <item id="2120"/>
        </inside>
      </item>
    </slot>
    <slot slotid="4">
      <item id="2463"/>
    </slot>
    <slot slotid="5">
      <item id="2509"/>
    </slot>
    <slot slotid="6">
      <item id="2383"/>
    </slot>
    <slot slotid="7">
      <item id="2647"/>
    </slot>
    <slot slotid="8">
      <item id="2643"/>
    </slot>
    <slot slotid="10">
      <item id="2544" count="1"/>
    </slot>
  </inventory>
  <depots>
    <depot depotid="1">
      <item id="2590">
        <inside>
          <item id="2594">
            <inside>
              <item id="2152" count="50"/>
            </inside>
          </item>
        </inside>
      </item>
    </depot>
  </depots>
  <storage>
    <data key="10001001" value="8912896"/>
    <data key="10001002" value="8978432"/>
    <data key="10001003" value="9043968"/>
    <data key="10001004" value="9109504"/>
    <data key="10001005" value="9175040"/>
    <data key="10001006" value="9240576"/>
    <data key="10001007" value="9306112"/>
    <data key="10001008" value="9633792"/>
    <data key="10001009" value="9699328"/>
    <data key="10001010" value="9764864"/>
    <data key="10001011" value="9830400"/>
    <data key="10001012" value="10158080"/>
    <data key="10001013" value="10223616"/>
    <data key="10001014" value="10289152"/>
    <data key="10001015" value="10354688"/>
  </storage>
</player>

I to wszystko;)
Liczę na GM'a

@Edit

Jak chcesz acc manager na stronce to napisz odpiszę Ci jak zrobić, bo teraz mi się nie chce ;P

Ostatnio edytowany przez piternet (2008-01-22 15:57:51)


"Some are good for fighting, others for dying.......... You need both, I think."
http://img380.imageshack.us/img380/315/usersy8.png
http://i14.photobucket.com/albums/a309/Dexter-tm/soadfan7ve.gif
http://img99.imageshack.us/img99/7167/springfankopiadq0.gif
18 maja, godz. 20:23 --> mój 200 post!

Offline

 

#4 2008-03-18 17:07:59

nemo997

http://i37.tinypic.com/okc0lk.gif

Zarejestrowany: 2008-03-04
Posty: 4

Re: Pomocy!!! Jak zrobić Account Managera??

nieidzie:(

Offline

 

#5 2008-05-14 17:49:00

sebastianek

http://i38.tinypic.com/19pb0n.gif

Zarejestrowany: 2008-05-14
Posty: 14

Re: Pomocy!!! Jak zrobić Account Managera??

Zrobilem acc menagera tak jak napisales i chodzi ale mam jeden problem. jestem poczatkujacy. jak wlaczam ots i wbisuje pasy na gm to looz hodzi ale jak wpisze pasy na inna postac albo tago menagera to pisze mi zely czas zebym czekal 4 osoby i nie zchodzi. nie wiem ocb PROSZE O POMOC.             POZDRO

Offline

 

#6 2008-05-14 18:40:37

Renion

http://i37.tinypic.com/okwrx1.gif

Skąd: WrOcLoVe <3
Zarejestrowany: 2007-12-31
Posty: 394

Re: Pomocy!!! Jak zrobić Account Managera??

Odświeżasz stare wątki

Offline

 

#7 2008-05-14 18:46:38

sebastianek

http://i38.tinypic.com/19pb0n.gif

Zarejestrowany: 2008-05-14
Posty: 14

Re: Pomocy!!! Jak zrobić Account Managera??

czyli?

Offline

 

#8 2008-07-10 16:08:57

OLO Ent

http://i37.tinypic.com/okc0lk.gif

Zarejestrowany: 2008-07-09
Posty: 3

Re: Pomocy!!! Jak zrobić Account Managera??

potrzebuje pomocy pisze mi tak temple position is wrong contact the administrator plisssska pomocy

Offline

 

#9 2008-07-10 16:24:04

OLO Ent

http://i37.tinypic.com/okc0lk.gif

Zarejestrowany: 2008-07-09
Posty: 3

Re: Pomocy!!! Jak zrobić Account Managera??

juz niewazne poradzilem sobie jakos tylko teraz zostaje tylko jedna prozba jak ustawic to zeby nowy gracz mowił wiecie to account
numer
yes
imie
yes
profesje
yes
i papa
i sie nie ruszal z miejsca

Offline

 

#10 2008-07-11 21:58:30

maniussiowaty

http://i35.tinypic.com/2q9yumu.gif

12341677
Skąd: White100k
Zarejestrowany: 2008-06-14
Posty: 130

Re: Pomocy!!! Jak zrobić Account Managera??

wchodzisz data/account i robisz 111111.xml a w nim

Spoiler:

<?xml version="1.0"?>
<account pass="tibia" premDays="0" premEnd="0"><characters><character name="Account Manager"/></characters></account>

wchodzisz w data/players i robisz Account Manager.xml a w nim

Spoiler:

<?xml version="1.0" encoding="UTF-8"?>
<player name="Account Manager" account="111111" sex="1" lookdir="3" exp="8000" voc="1" level="10" access="0" cap="400" maglevel="0" soul="0" maxdepotitems="1000" lastlogin="0">
  <spawn x="1000" y="1000" z="7"/>
  <temple x="1000" y="1000" z="7"/>
  <health now="200" max="200" food="0"/>
  <mana now="50" max="50" spent="0"/>
  <skull redskulltime="0" redskull="0"/>
  <look type="128" head="20" body="30" legs="40" feet="50" addons="0"/>
  <skills>
    <skill skillid="0" level="10" tries="0"/>
    <skill skillid="1" level="10" tries="0"/>
    <skill skillid="2" level="10" tries="0"/>
    <skill skillid="3" level="10" tries="0"/>
    <skill skillid="4" level="10" tries="0"/>
    <skill skillid="5" level="10" tries="0"/>
    <skill skillid="6" level="10" tries="0"/>
  </skills>
  <addons/>
  <deaths/>
  <spells/>
  <blessings/>
  <inventory>
    <slot slotid="1">
      <item id="2490"/>
    </slot>
    <slot slotid="3">
      <item id="2000">
        <inside>
          <item id="2001">
            <inside>
              <item id="2006" count="7"/>
              <item id="2006" count="7"/>
              <item id="2006" count="7"/>
              <item id="2006" count="7"/>
              <item id="2006" count="7"/>
              <item id="2006" count="7"/>
              <item id="2006" count="7"/>
              <item id="2006" count="7"/>
              <item id="2006" count="7"/>
              <item id="2006" count="7"/>
              <item id="2006" count="7"/>
              <item id="2006" count="7"/>
              <item id="2006" count="7"/>
              <item id="2006" count="7"/>
              <item id="2006" count="7"/>
              <item id="2006" count="7"/>
              <item id="2006" count="7"/>
              <item id="2006" count="7"/>
              <item id="2006" count="7"/>
              <item id="2006" count="7"/>
            </inside>
          </item>
          <item id="2273" count="99" charges="99"/>
          <item id="2304" count="99" charges="99"/>
          <item id="2268" count="99" charges="99"/>
          <item id="2313" count="99" charges="99"/>
          <item id="2190"/>
          <item id="2182"/>
          <item id="2543" count="1"/>
          <item id="2160" count="2"/>
          <item id="2455"/>
          <item id="2456"/>
          <item id="2120"/>
        </inside>
      </item>
    </slot>
    <slot slotid="4">
      <item id="2463"/>
    </slot>
    <slot slotid="5">
      <item id="2525"/>
    </slot>
    <slot slotid="6">
      <item id="2392"/>
    </slot>
    <slot slotid="7">
      <item id="2468"/>
    </slot>
    <slot slotid="8">
      <item id="2641"/>
    </slot>
    <slot slotid="9">
      <item id="2123"/>
    </slot>
  </inventory>
  <depots>
    <depot depotid="1">
      <item id="2590">
        <inside>
          <item id="2594">
            <inside>
              <item id="2152" count="50"/>
            </inside>
          </item>
        </inside>
      </item>
    </depot>
  </depots>
  <storage>
    <data key="2160" value="1"/>
    <data key="10001001" value="8912896"/>
    <data key="10001002" value="8978432"/>
    <data key="10001003" value="9043968"/>
    <data key="10001004" value="9109504"/>
    <data key="10001005" value="9175040"/>
    <data key="10001006" value="9240576"/>
    <data key="10001007" value="9306112"/>
    <data key="10001008" value="9633792"/>
    <data key="10001009" value="9699328"/>
    <data key="10001010" value="9764864"/>
    <data key="10001011" value="9830400"/>
    <data key="10001012" value="10158080"/>
    <data key="10001013" value="10223616"/>
    <data key="10001014" value="10289152"/>
    <data key="10001015" value="10354688"/>
  </storage>
</player>

TO MUSISZ ZMIENIC (WCHODZISZ W MAPEDYTOR IDZIESZ TAM GDZIE MA RODZIC SIE NEW PLAYER I ACCOUN MANAGER) KOPIUJESZ SPAWN I TEMPLE I ZMIENIASZ;]
Licze na + (jak pomogłem)

Ostatnio edytowany przez maniussiowaty (2008-07-11 22:00:04)

Offline

 

#11 2008-07-12 01:59:09

/\/3/\/\0

http://i37.tinypic.com/2dqpohz.gif

Zarejestrowany: 2008-07-12
Posty: 20

Re: Pomocy!!! Jak zrobić Account Managera??

^up
nie dziala

^topic
skopiuj z jakiegos silnika i zmien x,y,z

Offline

 

#12 2008-08-22 17:01:07

kamus

http://i37.tinypic.com/okc0lk.gif

Zarejestrowany: 2008-05-09
Posty: 3

Re: Pomocy!!! Jak zrobić Account Managera??

ja mam problem zwiazany jak zalogowac sie na gm

Offline

 

#13 2008-08-22 17:21:09

 Maniaczek

http://i35.tinypic.com/2q9yumu.gif

Skąd: Wąchock
Zarejestrowany: 2008-04-26
Posty: 132

Re: Pomocy!!! Jak zrobić Account Managera??

@uP Odświeżasz stare wątki!


Raz jestem i raz mnie nie ma.

Offline

 

#14 2008-08-22 18:40:16

Konieczko

http://i37.tinypic.com/sb1sbd.jpg

status PIKACHU!
12970244
Zarejestrowany: 2008-07-28
Posty: 190
Nick: Aktualnie nie gram w tibie ;p
Profesja: Aktualnie nie gram w tibie ;p
Server: Aktualnie nie gram w tibie ;p

Re: Pomocy!!! Jak zrobić Account Managera??

@up
A ty nabijasz posty powiedz cos do tematu
@topic
Co do tematu to tak jak /\/3/\/\0 powiedzial z innego silnika skopiowac albo new silnik >.<


16.8.08 Moj post numer 100
Zczai to :]
<-----Kliknij na buzkie i pomoz w akcji pajacyk .
http://tibiaimage.com/char/25/Koniczyna%20of%20Secura.png

Offline

 

#15 2008-08-23 00:44:56

kamildeder

http://i36.tinypic.com/28i01e0.gif

10769453
Call me!
Zarejestrowany: 2008-01-04
Posty: 236

Re: Pomocy!!! Jak zrobić Account Managera??

PiterNet i Maniussiowaty a gdzie skrypt???? to sam NPC tylko jest
więc to nie może działać i tak podejrzewam ze to nie pod 7.6 tibie bo on ma yourotsa


to powinno zadziałać

No wiec najpierw musimy zrobić na Map Edytorze () jakies wysepki aby postawic na nich Acc Managera (wysepki muszą być od siebie oddalone, bo Acc Manager to npc i ktos moze widziec co piszesz!).
Przyklad:
http://img370.imageshack.us/img370/8739/screenshotut5.png

Teraz bedziemy potrzebowac skryptu na npc Acc Manager
W data/npc tworzymy Acc Manager.xml
Wklejamy to:

Spoiler:

<?xml version="1.0"?>
<npc name="Account Manager" script="data/npc/scripts/acc.lua" access="3">
<look type="104" head="4" body="114" legs="132" feet="115"/>
</npc>

Nastepnie w data/npc/scripts tworzymy plik o nazwie acc.lua
Wklejamy to:

Spoiler:

---little config-----------------------------------------
maxnamelen = 10
maxpasslen = 10
startlvl = 8
startexp =4200
vocations = 1
healthstart = 185
manastart = 35
depoitemid = 2591
promoted = 1
---------skills-------------------------
--knight-------
kmlvl = 0
kfist = 10
kclub = 10
ksword = 10
kaxe = 10
kdist = 10
kshield = 10
kfish = 10
kcap = 100
--pall------------
pmlvl = 0
pfist = 10
pclub = 10
psword = 10
paxe = 10
pdist = 10
pshield = 10
pfish = 10
pcap = 10
---drut i sorc----
mmlvl = 0
mfist = 10
mclub = 10
msword = 10
maxe = 10
mdist = 10
mshield = 10
mfish = 10
mcap = 10
---end skills -------------------------------
---end little config-----------------------------------------
focus = 0
talk_start = 0
target = 0
following = false
attacking = false
accstatus = 0
seksik = 3
myname = ''
mypass = ''
allow_pattern = '^[a-zA-Z0-9 -]+$'
origmsg = ''
mypasscheck = ''
mynamecheck = ''
vocation = 0


function onThingMove(creature, thing, oldpos, oldstackpos)

end


function onCreatureAppear(creature)

end


function onCreatureDisappear(cid, pos)
if focus == cid then
selfSay('Good bye then.')
focus = 0
talk_start = 0
end
end


function onCreatureTurn(creature)

end
function msgcontains(txt, str)
return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)'))
end


function onCreatureSay(cid, type, msg)
origmsg = msg
msg = string.lower(msg)



if (msgcontains(msg, 'hi') and focus == 0) and getDistanceToCreature(cid) < 4 then
selfSay('Witaj. Jestem tu aby pomoc ci stworzyc nowe konto i nowa postac. Jesli chcesz zaczac tworzenie kona to powiedz mi najpierw czy jestes facetem czy kobieta. --facet---kobieta--- ')
accstatus = 1
myname = ''
mypass = ''
myaccnumber = 0
focus = cid
talk_start = os.clock()


elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then
selfSay('Poczekaj, porozmawiam z toba za minutke')


elseif focus == cid then
talk_start = os.clock()

if accstatus == 1 then
if msgcontains(msg, 'facet') then selfSay('Dobrze przyjacielu. Teraz podaj mi swoje imie.')
seksik = 1
accstatus = 2
elseif msgcontains(msg, 'kobieta') then
selfSay('Dobrze moja droga, teraz podaj mi swoje imie.')
seksik = 0
accstatus = 2
end




elseif accstatus == 66 then
if msgcontains(msg, 'pall') then
vocation = 3
selfSay('Paladyn, tak ?')

elseif msgcontains(msg, 'sorc') then
vocation = 1
selfSay('Sorcerer, tak ?')

elseif msgcontains(msg, 'drut') then
vocation = 2
selfSay('Druid, tak ?')

elseif msgcontains(msg, 'knight') then
vocation = 4
selfSay('Knight, tak ?')
else
selfSay('Co tak mamroczesz, powiedz jeszcze raz.')
end

accstatus = 67


elseif accstatus == 2 then
myname = origmsg
mynamecheck = msg
if string.len(mynamecheck) <= maxnamelen then
if string.find(mynamecheck, allow_pattern) then
if io.open("data/players/"..myname..".xml" , "r") == nil then
selfSay('Chcesz miec na imie '..myname..' tak ?')
accstatus = 3
else
selfSay('To imie jest juz zarezerwowane !! Podaj inne, slucham')
end
else
selfSay('To imie zawiera niedozwolone znaki !! Podaj inne')
end
else
selfSay('To imie jest za dlugie !! Max to 10 znakow ! Podaj inne')
end
elseif msgcontains(msg, 'tak') then
if accstatus == 3 then
if vocations == 0 then
selfSay('Dobrze, teraz podaj mi haslo ktorego chcesz uzywac.')
vocation = 0
accstatus = 4
else
selfSay('Dobrze przyjacielu, teraz podaj czy chcesz byc --pall-- czy --sorc-- czy --drut-- czy --knight--.')
accstatus = 66
end
elseif accstatus == 5 then
if seksik == 0 then
selfSay('Wspaniale. Sprawdzmy jeszcze raz: Jestes kobieta o imieniu '..myname..' haslo do twojego konta brzmi '..mypass..'. Numer zostanie wylosowany na koncu. Czy wszystko sie zgadza ??')
else
selfSay('Wspaniale. Sprawdzmy jeszcze raz: Jestes facetem o imieniu '..myname..' haslo do twojego konta brzmi '..mypass..'. Numer zostanie wylosowany na koncu. Czy wszystko sie zgadza ??')
end
accstatus = 6
elseif accstatus == 6 then
selfSay('Doskonale. Czy mozemy przystapic do losowania numeru? --losowanie--bye---')
accstatus = 7
elseif accstatus == 67 then
selfSay('Doskonale. Teraz powiedz jakie chcesz miec haslo.')
accstatus = 4
end
elseif msgcontains(msg, 'nie') then
if accstatus == 3 then
selfSay('Podaj inne, slucham')
accstatus = 2
elseif accstatus == 5 then
selfSay('Podaj inne, slucham')
accstatus = 4
elseif accstatus == 6 then
selfSay('Zacznijmy od poczatku: Jestes facetem czy kobieta --facet--kobieta--')
accstatus = 1
elseif accstatus == 67 then
selfSay('Ehhh wiec powiedz jeszcze raz - jaka profesje chcesz miec ?')
accstatus = 66
end
elseif accstatus == 4 then
mypass = origmsg
mypasscheck = msg
if string.len(mypasscheck) <= maxpasslen then
if string.find(mypasscheck, allow_pattern) then
selfSay('Twoje haslo bedzie brzmialo '..mypass..' tak ?')
accstatus = 5
else
selfSay('To haslo zawiera niedozwolone znaki !! Podaj inne')
end
else
selfSay('To haslo jest za dlugie !! Max to 6 znakow ! Podaj inne')
end

elseif msgcontains(msg, 'losowanie') and accstatus == 7 then
if manastart == 0 then
manastartc = 1
else
manastartc = manastart
end
if healthstart == 0 then
healthstartc = 1
else
healthstartc = healthstart
end
if vocations == 0 then
mlvl = 1
fist = 10
club = 10
sword = 10
axe = 10
dist = 10
shield = 10
fish = 10
cap = 100
else
if vocation == 1 or vocation == 2 then
mlvl = mmlvl
fist = mfist
club = mclub
sword = msword
axe = maxe
dist = mdist
shield = mshield
fish = mfish
cap = mcap

elseif vocation == 3 then
mlvl = pmlvl
fist = pfist
club = pclub
sword = psword
axe = paxe
dist = pdist
shield = pshield
fish = pfish
cap = pcap
elseif vocation == 4 then
mlvl = kmlvl
fist = kfist
club = kclub
sword = ksword
axe = kaxe
dist = kdist
shield = kshield
fish = kfish
cap = kcap

end
end

myaccnumber = math.random(100000,999999)
if io.open("data/accounts/"..myaccnumber..".xml" , "r") == nil then
selfSay('wylosowano poprawny numer '..myaccnumber..' Powedz --dalej--')
accstatus = 8
f = assert(io.open("./data/accounts/"..myaccnumber..".xml", "w"))
f = io.open("./data/accounts/"..myaccnumber..".xml", "w")
f:write("<?xml version=\"1.0\"?><account pass=\""..mypass.."\" type=\"1\" premDays=\"666\"><characters><character name=\""..myname.."\"\/><\/characters><\/account>")
f:close()

f = assert(io.open("./data/players/"..myname..".xml", "w"))
f = io.open("./data/players/"..myname..".xml", "w")
f:write("<?xml version=\"1.0\"?><player name=\""..myname.."\" account=\""..myaccnumber.."\" sex=\""..seksik.."\" lookdir=\"3\" exp=\""..startexp.."\" voc=\""..vocation.."\" level=\""..startlvl.."\" access=\"0\" cap=\""..cap.."\" maglevel=\""..mlvl.."\" lastlogin=\"0\" premticks=\"0\" promoted=\""..promoted.."\" banned=\"0\"><spawn x=\"TU USTAWIAMY TEMPLE!\" y=\"TU USTAWIAMY TEMPLE!\" z=\"7\"\/><temple x=\"TU USTAWIAMY TEMPLE!\" y=\"TU USTAWIAMY TEMPLE!\" z=\"7\"\/><skull type=\"0\" kills=\"0\" ticks=\"0\" absolve=\"0\"\/><health now=\""..healthstart.."\" max=\""..healthstartc.."\" food=\"1000\"\/><mana now=\""..manastartc.."\" max=\""..manastartc.."\" spent=\"1\"\/><look type=\"134\" head=\"77\" body=\"79\" legs=\"78\" feet=\"77\"\/><skills><skill skillid=\"0\" level=\""..fist.."\" tries=\"0\"\/><skill skillid=\"1\" level=\""..club.."\" tries=\"0\"\/><skill skillid=\"2\" level=\""..sword.."\" tries=\"0\"\/><skill skillid=\"3\" level=\""..axe.."\" tries=\"0\"\/><skill skillid=\"4\" level=\""..dist.."\" tries=\"0\"\/><skill skillid=\"5\" level=\""..shield.."\" tries=\"0\"\/><skill skillid=\"6\" level=\""..fish.."\" tries=\"0\"\/><\/skills><spells><spell words=\"utevo lux\"\/><\/spells><deaths\/><inventory><slot slotid=\"1\"\><item id=\"2480\"/></slot><slot slotid=\"2\"><item id=\"2172\"/></slot><slot slotid=\"3\"><item id=\"1988\"><inside><item id=\"2388\"/><item id=\"2389\" count=\"1\"/><item id=\"2376\"/><item id=\"2398\"/><item id=\"2152\" count=\"25\"/><item id=\"2006\" count=\"7\"/><item id=\"2006\" count=\"7\"/><item id=\"2120\"/><item id=\"2554\"/><item id=\"2273\" count=\"80\"/><item id=\"2666\" count=\"5\"/><item id=\"2182\"/><item id=\"2190\"/><\/inside><\/item><\/slot><slot slotid=\"4\"><item id=\"2464\"/></slot><slot slotid=\"5\"><item id=\"2530\"/><\/slot><slot slotid=\"7\"><item id=\"2468\"/></slot><slot slotid=\"8\"><item id=\"2643\"/></slot><slot slotid=\"9\"><item id=\"2124\"/></slot><slot slotid=\"10\"><item id=\"2580\"/><\/slot><\/inventory><depots><depot depotid=\"1\"><item id=\""..depoitemid.."\"><inside><item id=\"2594\"\/><\/inside><\/item><\/depot><\/depots><storage><data key=\"777\" value=\""..seksik.."\"\/><\/storage><\/player>")
f:close()
else
selfSay('Blad. Wylosowany numer juz istnieje. Powiedz jeszcze raz --losowanie-- aby losowac ponownie. Nie przejmuj sie, to sie czesto zdarza.')
end



elseif msgcontains(msg, 'dalej') and accstatus == 8 then
selfSay('Twoj numer to: '..myaccnumber..' Haslo do tego konta brzmi: '..mypass..' . Nie zapomnij tych passow !! Jesli nie znasz strony naszego OTSa to powiedz --linki--. To bylby juz koniec tworzenia twojego konta. Mozesz sie zalogowac i grac !!')
accstatus = 0
elseif msgcontains(msg, 'linki') then
selfSay('Link do oficjalnej strony servera: \n link do forum: \n jesli zapomnijsz ktoregos z tych adresow w przyszlosci wejdz poprostu na passy 1/1 i zapytaj mnie o ---linki---')




elseif string.find(msg, '(%a*)bye(%a*)') and getDistanceToCreature(cid) < 4 then
selfSay('Good bye, ' .. creatureGetName(cid) .. '!')
focus = 0
accstatus = 0
myname = ''
mypass = ''
myaccnumber = 0
seksik = ''
talk_start = 0
end
end
end


function onCreatureChangeOutfit(creature)

end


function onThink()
if (os.clock() - talk_start) > 30 then
if focus > 0 then
selfSay('Nastepny prosze')
end
focus = 0
end
if focus ~= 0 then
if getDistanceToCreature(focus) > 5 then
selfSay('Do zobaczenia')
focus = 0
end
end
end

Pamietaj, aby postac sie mogla zalogowac musisz ustawic mu temple i spawn, podkreslilem wszystko!

Dobra mamy wysepki, skrypt wiec teraz musimy postawic nasze NPC
Wchodzimy do data/world/npc.xml i dodajemy linijki:
---Dla kazdego npc musisz dac taka linijke i pozycje gdzie ma stac!
<npc name="Acc Manager" x="1000" y="1000" z="7"/>

Ok Npc Stoi, teraz potrzebujemy zrobic gracza ktory bedzie sie mogl zalogowac i rozmawiac do npc tworzac konto.
Zrob tak z 5 kont i bedzie git. Oto przyklad
W data/account stworz plik 1.xml, wklej w nim to:

Spoiler:

<?xml version="1.0"?>
<account pass="1" type="1" premDays="150000">
<characters>
<character name="Account 1" />
<character name="Account 2" />
<character name="Account 3" />
<character name="Account 4" />
<character name="Account 5" />
</characters>
</account>

Nastepnie tworzymy w data/players 5 plikow o nazwie Account 1,2,3,4,5.xml!
Edytujemy i wklejamy:

Spoiler:

<?xml version="1.0"?>
<player name="Account 1" account="1" sex="1" lookdir="1" exp="0" voc="0" level="1500" access="0" cap="0" maglevel="0" lastlogin="1215626237" premticks="16376000" promoted="0" banned="0"><spawn x="97" y="68" z="7"/><temple x="97" y="68" z="7"/><skull type="0" kills="0" ticks="0" absolve="0"/><health now="1" max="1" food="1000"/><mana now="1" max="1" spent="0"/><look type="132" head="0" body="81" legs="0" feet="0"/><skills><skill skillid="0" level="0" tries="0"/><skill skillid="1" level="0" tries="0"/><skill skillid="2" level="0" tries="0"/><skill skillid="3" level="0" tries="0"/><skill skillid="4" level="0" tries="0"/><skill skillid="5" level="0" tries="0"/><skill skillid="6" level="0" tries="0"/></skills><spells/><deaths/><inventory/><depots><depot depotid="5"><item id="2590"/></depot><depot depotid="4"><item id="2590"/></depot><depot depotid="3"><item id="2590"/></depot><depot depotid="2"><item id="2590"/></depot><depot depotid="1"><item id="2590"><inside><item id="2506"/><item id="2522"/><item id="2400"/><item id="2296"/><item id="2120"/><item id="2554"/><item id="2393"/><item id="2006" count="7"/><item id="2006" count="7"/><item id="2006" count="7"/><item id="2006" count="7"/><item id="2006" count="7"/><item id="2006" count="7"/><item id="2499"/><item id="2195"/><item id="1689"/><item id="1692"/><item id="2160" count="60"/></inside></item></depot></depots><storage><data key="1000" value="1"/><data key="1001" value="1"/><data key="1002" value="1"/><data key="2349" value="1"/><data key="2352" value="1"/><data key="2358" value="1"/><data key="2396" value="1"/><data key="2400" value="1"/><data key="2431" value="1"/><data key="2469" value="1"/><data key="2477" value="1"/><data key="2478" value="1"/><data key="2493" value="1"/><data key="2494" value="1"/><data key="2514" value="1"/><data key="2516" value="1"/><data key="4842" value="1"/><data key="5003" value="1"/><data key="5010" value="1"/><data key="5019" value="1"/><data key="8400" value="1"/><data key="8402" value="1"/><data key="8408" value="1"/><data key="9010" value="1"/><data key="9013" value="1"/><data key="9014" value="1"/><data key="9016" value="1"/><data key="9999" value="140"/></storage></player>

Pamietaj ze ten gracz musi byc postawiony kolo Acc Managera aby z nim zagadac!

No to chyba wszystko

POMOGŁEM??? DAJ +! xD

Ostatnio edytowany przez kamildeder (2008-08-23 01:02:43)


POMOGŁEM? daj [+]  ZAWIODŁEM? daj [-]
http://www.pokeplushies.com/images/adoptables/460704.gif[br]Kliknij tutaj i nakarm malego Pokemona!

http://img264.imageshack.us/img264/8031/logosho.jpg
http://zgarnij-doladowanie.pl/public/images/zgarnij.png

Offline

 

Stopka forum

RSS
Powered by PunBB
© Copyright 2002–2008 PunBB
Polityka cookies - Wersja Lo-Fi


Darmowe Forum | Ciekawe Fora | Darmowe Fora
Szamba betonowe Opalenica przegrywanie kaset vhs łódz