Reklama
Strona 15 z 36 PierwszaPierwsza ... 5131415161725 ... OstatniaOstatnia
Pokazuje wyniki od 211 do 225 z 531

Temat: [8.4][Serwer] DeadTouch 3.0rc4

  1. #211
    Szyszka

    Domyślny

    Aha. Dzięki. A jedno pytanie.
    Ktoś zadawał stronę wcześniej pytanie jak się pozbyć problemu z lua.dll.
    Ktoś kazał mu ściagnąć te lua. Robię tak samo ale go też nie mogę znaleźć..
    Wszedłem na stronę z .dll, wpisałem lua5.1. i nic. Więc skąd go wziąść?

    @Edit:
    Dobra już znalazłem. Sorry za problemy.
    Ostatnio zmieniony przez Szyszka : 07-12-2008, 11:47

  2. #212
    Avatar Killavus
    Data rejestracji
    2005
    Położenie
    Wrocław
    Wiek
    33
    Posty
    920
    Siła reputacji
    21

    Domyślny

    Cytuj Szyszka napisał Pokaż post
    Cytat został ukryty, ponieważ ignorujesz tego użytkownika. Pokaż cytat.
    Aha. Dzięki. A jedno pytanie.
    Ktoś zadawał stronę wcześniej pytanie jak się pozbyć problemu z lua.dll.
    Ktoś kazał mu ściagnąć te lua. Robię tak samo ale go też nie mogę znaleźć..
    Wszedłem na stronę z .dll, wpisałem lua5.1. i nic. Więc skąd go wziąść?

    #Edit:
    Dobra już znalazłem. Sorry za problemy.
    Zamiast szukać po necie, wystarczy wejść na http://code.google.com/p/deadtouch. W Downloads jest paczka ze wszystkimi potrzebnymi DLLkami. Sam wrzucam je do system32 - potem nie ma problemu z żadnym OTSem.

    Pozdrawiam
    Killavus

  3. #213
    Szyszka

    Domyślny

    @UP
    Ale żal ze mnie :P
    I mam jeszcze pytanie. Kumpel ze mną testuje OTS i nie może wbić bo jest Connection Refuse. Kiedyś miałem ten problem i go rozwiązałem ale teraz zapomniałem jak to zrobić.. Help plix? :D
    A, i dodam, że wszystkie zapory i firewalle mam wyłączone.

    @Down:
    Co za pała ze mnie.. Tak się podnieciłem że nie mogłem sprawdzić nawet configu XDD. Thx.
    Jeszcze jedno pytanie. Jak robić konta ręcznie w SQL?
    Ostatnio zmieniony przez Szyszka : 07-12-2008, 12:22

  4. Reklama
  5. #214
    Chojrak_

    Domyślny

    Moze zmieniles providera i nie masz zew. ip.
    Moze zle wpisales ip w configu.

    :)

  6. #215
    kofel

    Domyślny

    #Szyszka
    Mówiłem o SQLite Managerze ( wtyczka do Firefoxa ;) ).

    Uwaga! :D

    Na SVN wrzuciłem projekt XCode ( IDE Mac OS X'owe ) i instrukcje kompilacji na Mac Intel. ;D

    Także zapraszam tu: http://otland.pl/deadtouch/
    Rehosty dla DeadToucha + binarka na Maca ( niestety bez wbudowanych libów, tzn. nie jest tzw. Appem tylko binarka, za nie długo zrobięprojekt appa z includowaniem libów ). W sumie nie wiem po co robiłem wersjęna Mac, ale czóż. Jak jest klient ( YATC ;q ) to i wypadało by uruchomić serwer.

    Pozdrawiam.

  7. #216
    Szyszka

    Domyślny

    Łuu. Działa.
    A mógłby ktoś mi przybliżyć jego działanie? :]
    (Wiem że przynudzam i robię offtopic no ale..)

    @Edit:
    OMG, dlaczego ja zawsze muszę się połapać po napisaniu posta? -_-
    Sorry, serio ja zawsze kapuje program wtedy gdy napiszę post.. Już nie będe.. xD

    @Edit:
    Woops, jedno pytanie. Co to jest premend?
    Ostatnio zmieniony przez Szyszka : 07-12-2008, 12:42

  8. Reklama
  9. #217
    kofel

    Domyślny

    Czas kiedy kończy siępacc liczony od 1 stycznia 1970 w sekundach. Czyli po prostu czas unixowy. ;P

  10. #218
    BoBeK Roxx

    Domyślny

    Czekam na odp na mojego poprzedniego posta z kad siciognac tamten plik

  11. #219
    Avatar Killavus
    Data rejestracji
    2005
    Położenie
    Wrocław
    Wiek
    33
    Posty
    920
    Siła reputacji
    21

    Domyślny

    Cytuj BoBeK Roxx napisał Pokaż post
    Cytat został ukryty, ponieważ ignorujesz tego użytkownika. Pokaż cytat.
    mi wyskakuje bład ze nie ma pliko lua 5.1.dll czy jakos tak co zrobic?>
    http://deadtouch.googlecode.com/files/DLLs.zip

    Pozdrawiam
    Killavus

  12. Reklama
  13. #220
    Trrebor

    Domyślny

    Witam, mógłby mi ktoś opisać co trzeba zmienić, aby otrzymać takiego samego npc, tylko na wizard outfit.
    Ten kod poniżej jest na Citizen Outfit.

    Kod :
    local focuses = {}
    local nestings = {}
    function isFocused(cid)
    for i, v in pairs(focuses) do
    if(v == cid) then
    return true
    end
    end
    return false
    end
    
    function getNesting(cid)
    return nestings[cid]
    end
    
    function setNesting(cid, i)
    nestings[cid] = i
    end
    
    function addFocus(cid)
    if(not isFocused(cid)) then
    table.insert(focuses, cid)
    end
    end
    
    function removeFocus(cid)
    nestings[cid] = nil
    for i, v in pairs(focuses) do
    if(v == cid) then
    table.remove(focuses, i)
    break
    end
    end
    end
    
    function _(msg, text)
    if type(text) == 'string' then
    return string.find( msg, string.lower(text), 1, true )
    else
    for index,textnode in pairs(text) do
    if string.find( msg, string.lower(textnode), 1, true ) then
    return true
    end
    end
    return false
    end
    end
    
    function onCreatureDisappear(cid)
    if isFocused(cid) then
    selfSay( 'How rude!' )
    if isPlayer(cid) == TRUE then
    closeShopWindow(cid)
    removeFocus(cid)
    end
    end
    end
    
    function onCreatureMove(cid,frompos,topos)
    if isFocused(cid) then
    local distance = getDistanceToCreature(cid) or -1
    if((distance > 3) or (distance == -1)) then
    selfSay( "How rude!" )
    closeShopWindow(cid)
    removeFocus(cid)
    end
    end
    end
    
    function onPlayerCloseChannel(cid)
    selfSay( "How rude!" )
    closeShopWindow(cid)
    removeFocus(cid)
    end
    
    function onCreatureSay(cid, type, msg)
    msg = string.lower(msg)
    
    if _(msg, {'hi','hello','hiho'}) and not isFocused(cid) then
    selfSay( 'Hello, ' .. getCreatureName(cid) .. '! I\'m selling {citizen} {addon}.', cid )
    addFocus(cid)
    nestings[cid] = 0
    end
    
    if isFocused(cid) and type == 4 then
    if getNesting(cid) == 0 then
    if _(msg, 'job') then
    selfSay( 'I\'m addoner.', cid )
    elseif _(msg, 'citizen addon') then
    selfSay( 'I\'m offering citizen {backpack} and citizen {hat}.', cid )
    elseif _(msg, 'backpack') then
    if getPlayerStorageValue(cid, 7000) == -1 then
    selfSay('To obtain citizen backpack, bring me 100 minotaur leathers. After that, ask me again.', cid)
    setPlayerStorageValue(cid,7000,1)
    elseif getPlayerStorageValue(cid,7000) == 1 then
    selfSay('Do you have 100 minotaur leathers with you?', cid)
    setNesting(cid,1)
    elseif getPlayerStorageValue(cid,7000) == 2 then
    selfSay('You already have this addon.', cid)
    end
    elseif _(msg, 'hat') then
    if getPlayerStorageValue(cid, 7001) == -1 then
    selfSay('To obtain citizen hat, bring me 100 chicken feathers, 50 honeycombs and a legion helmet. After that, ask me again.', cid)
    setPlayerStorageValue(cid,7001,1)
    elseif getPlayerStorageValue(cid, 7001) == 1 then
    selfSay('Do you have 100 chicken feathers, 50 honeycombs and a legion helmet with you?', cid)
    setNesting(cid,2)
    elseif getPlayerStorageValue(cid,7001) == 2 then
    selfSay('You already have this addon.', cid)
    end
    elseif _(msg, {'bye','farewell'}) then
    selfSay('Good bye, ' .. getCreatureName(cid) .. '!', cid)
    removeFocus(cid)
    end
    elseif getNesting(cid) == 1 then
    if _(msg, 'yes') then
    local leathers = getPlayerItemCount(cid, 5878)
    if leathers >= 100 then
    doPlayerRemoveItem(cid, 5878, 100)
    selfSay('Fine. You now have citizen backpack.', cid)
    looktype = 128
    if getPlayerSex(cid) == FEMALE then looktype = 136; end
    if canPlayerWearOutfit(cid, looktype, 2) == TRUE then
    doPlayerAddOutfit(cid, looktype, 3)
    else
    doPlayerAddOutfit(cid, looktype, 1)
    end
    setPlayerStorageValue(cid,7000,2)
    setNesting(cid,0)
    else
    selfSay('Come back when you\'ll have 100 leathers.', cid)
    setNesting(cid,0)
    end
    else
    selfSay('Maybe next time.',cid)
    setNesting(cid,0)
    end
    elseif getNesting(cid) == 2 then
    if _(msg, 'yes') then
    local feathers = getPlayerItemCount(cid, 5890)
    local honeycombs = getPlayerItemCount(cid, 5902)
    local helmet = getPlayerItemCount(cid, 2480)
    if feathers >= 100 and honeycombs >= 50 and helmet >= 1 then
    doPlayerRemoveItem(cid, 5890, 100)
    doPlayerRemoveItem(cid, 5902, 50)
    doPlayerRemoveItem(cid, 2480, 1)
    selfSay('Fine. You now have citizen hat.', cid)
    looktype = 128
    if getPlayerSex(cid) == FEMALE then looktype = 136; end
    if canPlayerWearOutfit(cid, looktype, 1) == TRUE then
    doPlayerAddOutfit(cid, looktype, 3)
    else
    doPlayerAddOutfit(cid, looktype, 2)
    end
    setPlayerStorageValue(cid,7001,2)
    setNesting(cid,0)
    else
    selfSay('Come back when you\'ll have 100 chicken feathers, 50 honeycombs and 1 legion helmet.', cid)
    setNesting(cid,0)
    end
    else
    selfSay('Maybe next time.',cid)
    setNesting(cid,0)
    end
    end
    end
    end

    Zrobiłem coś takiego, (kod poniżej na wizard) ale gdy pisze do tego npc "wizard outfit" on odpowiada "Noob"
    Dodam jeszcze, że jak zrobiłem tego npc na Wizard, nie działa mi ten npc na Citizen, jak podchodze i pisze do niego np. "backpack" to nic sie nie dzieje ; /


    Kod :
    local focuses = {}
    local nestings = {}
    function isFocused(cid)
    	for i, v in pairs(focuses) do
    		if(v == cid) then
    			return true
    		end
    	end
    	return false
    end
    
    function getNesting(cid)
    	return nestings[cid]
    end
    
    function setNesting(cid, i)
    	nestings[cid] = i
    end
    
    function addFocus(cid)
    	if(not isFocused(cid)) then
    		table.insert(focuses, cid)
    	end
    end
    
    function removeFocus(cid)
    	nestings[cid] = nil
    	for i, v in pairs(focuses) do
    		if(v == cid) then
    			table.remove(focuses, i)
    			break
    		end
    	end
    end
    
    function _(msg, text)
    	if type(text) == 'string' then
    		return string.find( msg, string.lower(text), 0, true )
    	else
    		for index,textnode in pairs(text) do
    			if string.find( msg, string.lower(textnode), 1, true ) then
    				return true
    			end
    		end
    		return false
    	end
    end
    
    function onCreatureDisappear(cid)
    	if isFocused(cid) then
    		selfSay( 'How rude!' )
    		if isPlayer(cid) == TRUE then
    			closeShopWindow(cid)
    			removeFocus(cid)
    		end
    	end
    end
    
    function onCreatureMove(cid,frompos,topos)
    		if isFocused(cid) then
    		    local distance = getDistanceToCreature(cid) or -1
    			if((distance > 4) or (distance == -1)) then
    				selfSay( "How rude!" )
    				closeShopWindow(cid)
    				removeFocus(cid)
    			end
    		end
    end
    
    function onPlayerCloseChannel(cid)
    	selfSay( "How rude!" )
    	closeShopWindow(cid)
    	removeFocus(cid)
    end
    
    function onCreatureSay(cid, type, msg)
    	msg = string.lower(msg)
    	
    	if _(msg, {'hi','hello','hiho'}) and not isFocused(cid) then
    		selfSay( 'Hello, ' .. getCreatureName(cid) .. '! I\'m selling {wizard} {addon}.', cid )
    		addFocus(cid)
    		nestings[cid] = 0
    	end
    	
    	if isFocused(cid) and type == 4 then
    		if getNesting(cid) == nil then
    			selfSay('Noob')
    		end
    		if getNesting(cid) == 0 then
    			if _(msg, 'job') then
    				selfSay( 'I\'m addoner.', cid )
    			elseif _(msg, 'wizard addon') then
    				selfSay( 'I\'m offering wizard {skull mask} and wizard {skull shoulder pad}.', cid )
    			elseif _(msg, 'skull mask') then
    				if getPlayerStorageValue(cid, 7005) == -1 then
    					selfSay('To obtain wizard skull mask, bring me medusa shield, dragon scale mail, cron legs, and ring of the sky. After that, ask me again.', cid)
    					setPlayerStorageValue(cid,7005,1)
    				elseif getPlayerStorageValue(cid,7005) == 1 then
    					selfSay('Do you have medusa shield, dragon scale mail, cron legs, and ring of the sky?', cid)
    					setNesting(cid,1)
    				elseif getPlayerStorageValue(cid,7005) == 2 then
    					selfSay('You already have this addon.', cid)
    				end
    			elseif _(msg, 'skull shoulder pad') then
    				if getPlayerStorageValue(cid, 7006) == -1 then
    					selfSay('To obtain wizard skull shoulder pad, bring me Ferumbras Hat. After that, ask me again.', cid)
    					setPlayerStorageValue(cid,7006,1)
    				elseif getPlayerStorageValue(cid, 7006) == 1 then
    					selfSay('Do you have 50 Holy Orchid?', cid)
    					setNesting(cid,2)
    				elseif getPlayerStorageValue(cid,7006) == 2 then
    					selfSay('You already have this addon.', cid)
    				end
    			end	
    		elseif getNesting(cid) == 1 then
    			if _(msg, 'yes') then
    				local shield = getPlayerItemCount(cid, 2536)
    				local dmail = getPlayerItemCount(cid, 2492)
    				local clegs = getPlayerItemCount(cid, 2488)
    				local rots = getPlayerItemCount(cid, 2123)
    
    				if shield >= 1 and dmail >= 1 and clegs >= 1 and rots >= 1 then
    					doPlayerRemoveItem(cid, 2536, 1)
    					doPlayerRemoveItem(cid, 2492, 1)
    					doPlayerRemoveItem(cid, 2488, 1)
    					doPlayerRemoveItem(cid, 2123, 1)
    
    					selfSay('Fine. You now have wizard skull mask.', cid)
    					looktype = 145
    					if getPlayerSex(cid) == FEMALE then looktype = 149; end
    					if canPlayerWearOutfit(cid, looktype, 2) == TRUE then
    						doPlayerAddOutfit(cid, looktype, 3)
    					else
    						doPlayerAddOutfit(cid, looktype, 1)
    					end	
    					setPlayerStorageValue(cid,7005,2)
    					setNesting(cid,0)
    				else
    					selfSay('Come back when you\'ll have all wand of sorcerer, all rods of druid, 10 Magic Sulphur, 20 Ankh and Soul Stone.', cid)
    					setNesting(cid,0)
    				end
    			else 
    				selfSay('Maybe next time.',cid)
    				setNesting(cid,0)
    			end
    		elseif getNesting(cid) == 2 then
    			if _(msg, 'yes') then
    				local fhat = getPlayerItemCount(cid, 5922)
    				if fhat >= 50 then
    					doPlayerRemoveItem(cid, 5922, 50)
    					selfSay('Fine. You now have wizard skull shoulder pad.', cid)
    					looktype = 145
    					if getPlayerSex(cid) == FEMALE then looktype = 149; end
    					if canPlayerWearOutfit(cid, looktype, 1) == TRUE then
    						doPlayerAddOutfit(cid, looktype, 3)
    					else
    						doPlayerAddOutfit(cid, looktype, 2)
    					end
    					setPlayerStorageValue(cid,7006,2)
    					setNesting(cid,0)
    				else
    					selfSay('Come back when you\'ll have 50 holy orchid.', cid)
    					setNesting(cid,0)
    				end
    			else
    				selfSay('Maybe next time.',cid)
    				setNesting(cid,0)
    			end
    		end
    	end
    end
    Bardzo proszę o pomoc!

  14. #221
    BoBeK Roxx

    Domyślny

    Jestem początkowym ots-siarzem xD;]. Ale to nie jest zadne pvp itp?
    MAM kilka pytan:
    Kto by byl tak mili i dal linka z mapa taka kurde jaka jest na 8.31 weszedzie na ots.
    2.Jak zmienic ip zeby bylo np. PycholandiaoTs.no-ip.org lub inna koncowka
    3. Jak zrobic zeby czary bylo widac normalnie a nie tak na pomarańczowo.
    4. Wszystkie komendy jakby mi ktos przeslal bym był wdzięczny;]
    5. Co to znaczy DeathCouth;]
    Pozdro;]

  15. #222
    Avatar Killavus
    Data rejestracji
    2005
    Położenie
    Wrocław
    Wiek
    33
    Posty
    920
    Siła reputacji
    21

    Domyślny

    Cytuj BoBeK Roxx napisał Pokaż post
    Cytat został ukryty, ponieważ ignorujesz tego użytkownika. Pokaż cytat.
    Jestem początkowym ots-siarzem xD;]. Ale to nie jest zadne pvp itp?
    MAM kilka pytan:
    Kto by byl tak mili i dal linka z mapa taka kurde jaka jest na 8.31 weszedzie na ots.
    2.Jak zmienic ip zeby bylo np. PycholandiaoTs.no-ip.org lub inna koncowka
    3. Jak zrobic zeby czary bylo widac normalnie a nie tak na pomarańczowo.
    4. Wszystkie komendy jakby mi ktos przeslal bym był wdzięczny;]
    5. Co to znaczy DeathCouth;]
    Pozdro;]
    Nikt. Sam sobie poszukaj. OpenTibia to wciąż serwer, a nie zabawka dla małych dzieci. Trochę musisz się natrudzić, żeby postawić własny.

    2. W config.lua, ustawiasz swoje prawdziwe IP. Potem zakładasz No-IP. Wszystko jest w Artykułach do OTS.
    3. W config.lua, odznaczasz animatedspells na "no".
    4. Masz wszystko w commands.xml i talkactions.xml.
    5. DeadTouch, po prostu taka nazwa. Martwy Dotyk, jakby z angielskiego przetłumaczyć.

    Pozdrawiam
    Killavus

  16. Reklama
  17. #223
    BoBeK Roxx

    Domyślny

    Sciognelem forgoten serwer bo na tym trzeba robic npc.
    Zrobilem wsyzstko co trzba na no-ip zaznaczam tam w no-ip zeby ta buska obok byla zarumienniona wpisuje ip swoje w configu ip changer tibia i nie moge cos wbic. O co biega?

  18. #224
    Trrebor

    Domyślny

    @up

    Jesli sciagnales inny serwer to nie jest juz temat dla Ciebie.

    @topic

    Prosze odpowiedziec na mojego posta na wczesniejszej stronie, pisalem pm, pisze tutaj, i nikt nie chce mi udzielić pomocy!

  19. #225

    Data rejestracji
    2006
    Posty
    175
    Siła reputacji
    20

    Domyślny Source

    Prosiłbym o reupload Source i jakiś może poradniczek do tego jak dojść do zmiany accounta gracza.
    Proszę
    Dzięki za pomoc

  20. Reklama
Reklama

Informacje o temacie

Użytkownicy przeglądający temat

Aktualnie 1 użytkowników przegląda ten temat. (0 użytkowników i 1 gości)

Podobne tematy

  1. Odpowiedzi: 53
    Ostatni post: 03-01-2014, 16:11
  2. [7.6][Serwer] DeadTouch zmodyfikowany by Pajlok
    Przez Pajlok w dziale Skrypty i technika
    Odpowiedzi: 32
    Ostatni post: 23-07-2010, 10:48
  3. Serwer Dedykowany w Kimsufi.pl a Serwer RPS na ovh.pl!
    Przez CzasoMaczo w dziale Open Tibia Server
    Odpowiedzi: 10
    Ostatni post: 31-07-2009, 13:36
  4. [7.6][Serwer] DeadTouch 1.9
    Przez Killavus w dziale Skrypty i technika
    Odpowiedzi: 394
    Ostatni post: 26-06-2009, 11:01
  5. Open Tibia Serwer , czyli z czym to się je
    Przez konto usunięte w dziale Tibia
    Odpowiedzi: 103
    Ostatni post: 24-07-2006, 17:36

Zakładki

Zakładki

Zasady postowania

  • Nie możesz pisać nowych tematów
  • Nie możesz pisać postów
  • Nie możesz używać załączników
  • Nie możesz edytować swoich postów
  •