![]() |
![]() ![]() « Citoyen » 1459239720000
| 0 | ||
Agorttbot a dit : [url=Bu konuda]http://atelier801.com/topic?f=6&t=821461[/url] Dernière modification le 1459239960000 |
![]() ![]() « Citoyen » 1459342140000
| 0 | ||
Ne alaka? :D |
![]() ![]() « Citoyen » 1459919880000
| 0 | ||
addPopup = ui.addPopup function ui.addPopup(i, c, m, n, x, y, w, f, ce) x = ce and x - w / 2 or x addPopup(i, c, m, n, x, y, w, f) end ui.addPopup(2, 2, "Kim Banlansın?", Zekabat, 400, 200, 800, true, true) Ben öyle bir kodda şimdi cevap Zekabat ise Zekabat'ın banlanmasını nasıl yapabilirim? [ Banlama komudu olarak şu olsun == EventLoop(timeRemaining,timeRemaining) tfm.exec.killPlayer(adıYazılanKişi) ] Dernière modification le 1459920000000 |
![]() ![]() « Citoyen » 1459965660000
| 0 | ||
zekabat a dit : Bunu kullan eventPopupAnswer(popupID, oyuncuAdı, cevap) |
![]() ![]() « Citoyen » 1460142420000
| 0 | ||
Bana yardım eder misiniz? Bir popup çıktıktan bir süre sonra (20 sn) farklı bir popup çıkmasını nasıl sağlayabilirim ??? |
0 | ||
arkadaşlar elimizde bir market lua kodu var birde oyun luamız oyun luamız racingle ilgili ama biz mesela racingde arkadaş 1. oldu o girdiginde kendi marketine nasıl para gitmesini sağlayabiliriz ( Oyundaki Marketine ) |
![]() ![]() « Citoyen » 1460807580000
| 0 | ||
/room *#palette odası hala çalışıyor mu ? Bir şeyler yazıyor chatde fakat resim yapılmıyor :P Dernière modification le 1460828460000 |
![]() ![]() « Citoyen » 1461526500000
| 0 | ||
Survivor mini oyununu şamansız nasıl açabiliriz alıştırma gibi falan şamansız kendi drag falan atıyo .d |
![]() ![]() « Citoyen » 1461572820000
| 0 | ||
Dnyakardel a dit : EN forumda buldum al: kod a dit : Sarı kısma adını yaz Bu arada bana yardım eder misiniz? Bu kodda hata nerede? kod a dit : Dernière modification le 1461863820000 |
0 | ||
Survivor mini oyununu şamansız nasıl açabiliriz alıştırma gibi falan şamansız kendi drag falan atıyo .d EN forumda buldum al: Spoiler kod dedi ki: owner = "Zekabat" interval = 10 cannonInfo = {} difficulty = 8 maps = {3107377,305748,1539148,4543602,390649,495880,1463332,1492805,292678,305753,1545834,3175437,2964900,1812056,852617,799141,1794907,2939549,459284,1519483,1794873,811211,306360,489829,479091,3419948,290546,276534,3220945,1754355,281649,390657,311496,295988,802958,2643833} function main() tfm.exec.disableAutoNewGame(true) tfm.exec.disableAutoShaman(true) tfm.exec.disableAutoTimeLeft(true) tfm.exec.newGame(maps[math.random(#maps)]) end function eventNewGame() interval = 10 end function eventNewPlayer(name) ui.addTextArea(1, "<a href='event:easy'><VP><font size='14'>E", name, 728, 21, nil, nil, 0x000001, nil, 0.7) ui.addTextArea(2, "<a href='event:medium'><J><font size='14'>M", name, 753, 21, nil, nil, 0x000001, nil, 0.7) ui.addTextArea(3, "<a href='event:hard'><R><font size='14'>H", name, 781, 21, nil, nil, 0x000001, nil, 0.7) end function eventTextAreaCallback(id, name, cb) if (owner==name or owner=="nobody") and interval > 6 then interval = 10 if cb == "easy" then difficulty = 7 elseif cb == "medium" then difficulty = 8 elseif cb == "hard" then difficulty = 9 end end end function eventLoop(time, remaining) if time>3000 then interval = interval - 1 if interval == difficulty then ui.removeTextArea(4) local users = {} for name,p in pairs(tfm.get.room.playerList) do if not p.isDead then users[#users+1] = name end end cannonInfo = spawnCannon(users[math.random(#users)]) interval = 11 elseif interval<=5 then tfm.exec.setUIMapName("<ROSE>The next map will start in "..interval) if interval == 0 then tfm.exec.newGame(maps[math.random(#maps)]) end elseif interval == 10 then tfm.exec.addShamanObject(17, cannonInfo[1], cannonInfo[2], cannonInfo[3]-90) cannonInfo={} end end if remaining<=0 then ui.addTextArea(4, "<VP><p align='center'><B>CONGRATULATIONS</B>\n\n<CH><i>you beat the CPU!", nil, 290, 22, 180, nil, 0x000001, 0xCA0805, 0.8) tfm.exec.newGame(maps[math.random(#maps)]) end end function eventPlayerDied(name) if playerCount() < 1 then interval = 6 end end function playerCount() local n=0 for name, player in pairs(tfm.get.room.playerList) do if not player.isDead then n=n+1 end end return n end function spawnCannon(name) local info = {} local px = tfm.get.room.playerList[name].x local py = tfm.get.room.playerList[name].y local cnnx = math.random()*800 local cnny = math.random()*400 if cnny > py then cnny = py-math.random(50)-20 end if math.abs(cnnx-px) > 300 then cnnx = px + math.random(-50, 50) end local ang = math.deg(math.atan2(cnny-py, cnnx-px)) tfm.exec.addShamanObject(0, cnnx, cnny, ang+90) info[1] = cnnx info[2] = cnny info[3] = ang return info end for name in pairs(tfm.get.room.playerList) do eventNewPlayer(name) end main() Sarı kısma adını yaz Birşey Dicem ona Göre Bi Profil Hazırlayabilirmisinz Böyle Hani Kaç Turda Kaç Kazanma VE Ölme Gibi LUADA YENİYİM PEK ŞEY BİLMEDİGİMDEN SORUYORUM YARDIM EDERSENİZ SEVİNİRM :) |
![]() ![]() « Citoyen » 1462079160000
| 0 | ||
gotr1 a dit : EN forumda buldum, ben yapmadım. Üzgünüm Bu kodda bana yardım edebilir misiniz? x = 5 function eventLoop(timeRemaining,timeRemaining) x = x + 1 end ui.addTextArea(50,"deneme",n,x,50,50,20,0x000000,0xF8FF00,500,true) Nerede hata anlamadım, yazının yarım saniyede bir sağa 1x kayması gerekmiyor mu? Dernière modification le 1462080960000 |
![]() ![]() « Citoyen » 1462092120000
| 0 | ||
zekabat a dit : Bunu dene x = 5 function eventLoop() x = x + 1 ui.addTextArea(50,"deneme",n,x,50,50,20,0x000000,0xF8FF00,500,true) end |
![]() ![]() « Citoyen » 1462103460000
| 0 | ||
Barsems a dit : Teşekkürler Text Otobüsüm nasıl? x = 5 y = 195 z = 65 p = 125 t = 213 o = 5 function eventLoop() x = x + o z = z + o y = y + o p = p + o t = t + o ui.addTextArea(50,"",n,x,200,200,100,0x000000,0xF8FF00,500,true) ui.addTextArea(1,"<ROSE> Text Otobüsü",n,x,240,200,20,0x000000,0xF8FF00,500,true) ui.addTextArea(60,"",n,x,308,10,10,0x000000,0xF8FF00,500,true) ui.addTextArea(70,"",n,y,308,10,10,0x000000,0xF8FF00,500,true) ui.addTextArea(80,"",n,z,308,10,10,0x000000,0xF8FF00,500,true) ui.addTextArea(90,"",n,p,308,10,10,0x000000,0xF8FF00,500,true) ui.addTextArea(2,"",n,t,217,50,70,0x000000,0xF8FF00,500,true) end Sarı kısımları değiştirerek hızını artırabilirsiniz.(Bu kod @0 için hazırlanmıştır ve geliştirmek serbesttir.) Dernière modification le 1462105440000 |
![]() ![]() « Citoyen » 1462111800000
| 0 | ||
Lua kodların'dan neden hiçbirşey anlamıyorum biri bizlere açıklasın o.O |
![]() ![]() « Citoyen » 1462112400000
| 0 | ||
swagblog a dit : Bu konu sana yardımcı olabilir. |
![]() ![]() « Citoyen » 1462112460000
| 0 | ||
ifantastica a dit : Teşekkürler. |
![]() ![]() « Citoyen » 1462164660000
| 0 | ||
ifantastica a dit : O konu güncel değil, bence bu konudaki kodları inceleyip anlamaya çalış. ( en azından ben öyle yapıyorum ) zekabat a dit : Kodu geliştiriyorum :P ui.addTextArea(12324324354634565,"<ROSE>Text Kazası",n,364.5,50,71,20,0x000000,0xF8FF00,500,true) x = 5 xx = 595 y = 195 yy = 720 z = 65 zz = 786 p = 125 pp = 655 t = 213 tt = 537 l = 52.5 ll = 650 o = 5 oo = -5 function eventLoop() x = x + o xx = xx + oo z = z + o zz = zz + oo y = y + o yy = yy + oo p = p + o pp = pp + oo t = t + o tt = tt + oo l = l + o ll = ll + oo ui.addTextArea(50,"",n,x,200,200,100,0x000000,0xF8FF00,500,true) ui.addTextArea(51,"",n,xx,200,200,100,0x000000,0xF8FF00,500,true) ui.addTextArea(1,"<ROSE> Text Otobüsü",n,l,240,90,20,0x000000,0xF8FF00,500,true) ui.addTextArea(86437264879,"<ROSE> Text Otobüsü",n,ll,240,90,20,0x000000,0xF8FF00,500,true) ui.addTextArea(60,"",n,x,308,10,10,0x000000,0xF8FF00,500,true) ui.addTextArea(61,"",n,xx,308,10,10,0x000000,0xF8FF00,500,true) ui.addTextArea(70,"",n,y,308,10,10,0x000000,0xF8FF00,500,true) ui.addTextArea(71,"",n,yy,308,10,10,0x000000,0xF8FF00,500,true) ui.addTextArea(80,"",n,z,308,10,10,0x000000,0xF8FF00,500,true) ui.addTextArea(81,"",n,zz,308,10,10,0x000000,0xF8FF00,500,true) ui.addTextArea(90,"",n,p,308,10,10,0x000000,0xF8FF00,500,true) ui.addTextArea(91,"",n,pp,308,10,10,0x000000,0xF8FF00,500,true) ui.addTextArea(2,"",n,t,217,50,70,0x000000,0xF8FF00,500,true) ui.addTextArea(44,"",n,tt,217,50,70,0x000000,0xF8FF00,500,true) end Ve de kodumu şunu ekliyorum fakat çalışmıyor. Lua bilgime göre ( ceviz kadar bir şey zaten ) hata çıkmaması gerek, kod şu: timer=13 function eventLoop(time,remaining) timer=timer-0.5 if timer==13 ui.removeTextArea(50) ui.removeTextArea(51) ui.removeTextArea(1) ui.removeTextArea(86437264879) ui.removeTextArea(60) ui.removeTextArea(61) ui.removeTextArea(70) ui.removeTextArea(71) ui.removeTextArea(80) ui.removeTextArea(81) ui.removeTextArea(90) ui.removeTextArea(91) ui.removeTextArea(2) ui.removeTextArea(44) end end Amacım minioyun yapmak değil sadece eğlenmek :P Ama isterseniz siz yapabilirsiniz ( Yapılabiliyorsa ) Dernière modification le 1462174500000 |