×

Langue

Fermer
Atelier 801
  • Forums
  • Dev Tracker
  • Connexion
    • English Français
      Português do Brasil Español
      Türkçe Polski
      Magyar Română
      العربية Skandinavisk
      Nederlands Deutsch
      Bahasa Indonesia Русский
      中文 Filipino
      Lietuvių kalba 日本語
      Suomi עברית
      Italiano Česky
      Hrvatski Slovensky
      Български Latviešu
      Estonian
  • Langue
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • zamówienia na kody.
« ‹ 133 / 149 › »
zamówienia na kody.
Hosual
« Consul »
1497024540000
    • Hosual#0000
    • Profil
    • Derniers messages
    • Tribu
#2641
  0
maps = {"@650592","@4385075"}

tfm.exec.setGameTime(10)



function eventNewGame()
tfm.exec.newGame(maps[math.random(#maps)])
tfm.exec.setNameColor(players[math.random(#players)], 0xFF1900)
system.bindKeyboard(players[math.random(#players)],88,true,true)
ui.addTextArea(0,'<J><a href="event:pomoc">Pomoc',nick,5,190,0,20,0x1c3c41,0x1c3c41,1)
tfm.exec.setGameTime(30)
end

function eventTextAreaCallback(id,nick,klik)
if klik=="pomoc" then
ui.addPopup(0, 0, "Witaj w berku! <br><br>Gdy masz czerwony nick postaraj się przekazać czerwoność innej myszce z białym nickiem.<br>Jeśli masz biały nick, staraj się jak najprędzej uciekać!<br><br>X - gdy masz czerwony nick przekazujesz go za pomocą kliknięcia klawisza przy kimś<br><br><br>Kod : Rohere<br><br>Pomysł: Rohere<br><br>",nick, 292, 91, 200, true)
end
end

players = {}

for nick,player in pairs(tfm.get.room.playerList) do
table.insert(players,nick)
end


function eventKeyboard(nick,key,d,x,y)
for n,p in pairs(tfm.get.room.playerList) do
if key==88 and p.x>x-20 and p.x<x+20 and p.y>y-20 and p.y<y+20 and n~=nick then
system.bindKeyboard(n,88,true,true)
tfm.exec.setNameColor(n, 0xFF1900)
table.insert(czer,n)
table.invert(czer,nick)
system.bindKeyboard(nick,88,true,false)
tfm.exec.setNameColor(nick, 0xFFFFFF)
end
end
end



tfm.exec.disableAutoShaman(true)
tfm.exec.disableAutoScore(true)



function eventLoop(t,r)
if r<=0 then
tfm.exec.newGame(maps[math.random(#maps)])
tfm.exec.setNameColor(all, 0xFFFFFF)
end
end

dodalby ktos do tego mozliwosc oddawania koloru za pomoca spacji?
i zeby kolorowy nick mogla miec tylko jedna osoba na raz
Rohere
« Consul »
1497025020000
    • Rohere#0000
    • Profil
    • Derniers messages
    • Tribu
#2643
  0
Skopiował kod i jeszcze prosi o edycje :p
Smerfmisiu
« Censeur »
1497080460000
    • Smerfmisiu#0000
    • Profil
    • Derniers messages
    • Tribu
#2644
  0
Poproszę kod na konfetti spadające z nieba :>
Pastel_doll
« Citoyen »
1497087120000
    • Pastel_doll#2437
    • Profil
    • Derniers messages
#2645
  0
Smerfmisiu a dit :
Poproszę kod na konfetti spadające z nieba :>

id={21,22,23,24}

L=800
H=400

function eventNewGame()
L=tonumber(tfm.get.room.xmlMapInfo.xml:match('<P[^/]+L="([^"]+)"[^/]+/>'))
if not L then
L=800
end
H=tonumber(tfm.get.room.xmlMapInfo.xml:match('<P[^/]+H="([^"]+)"[^/]+/>'))
if not H then
H=400
end
end

tfm.exec.newGame()

function eventLoop()
for i=1,25 do
tfm.exec.displayParticle(id[math.random(#id)],math.random(0,L),math.random(0,H),0,0,0,0)
end
end
Fuwafuwa
« Consul »
1497259500000
    • Fuwafuwa#1001
    • Profil
    • Derniers messages
    • Tribu
#2646
  0
Witaaam, potrzebuje kodu gdzie ja jestem adminem tylko i tylko ja mogę teleportować myszki jakąś komendą.
Pastel_doll
« Citoyen »
1497273480000
    • Pastel_doll#2437
    • Profil
    • Derniers messages
#2647
  0
Sory, zrobiłam takie gdzie wszyscy mogą się teleportować za kliknięciem myszką w dane miejsce

function eventNewPlayer(name)
system.bindMouse(name, true)
end

function eventMouse(name, x, y)
tfm.exec.movePlayer(name, x, y, false, 0, 1, false)
tfm.exec.displayParticle(37, x, y, 0, 0, 0, 0, nil)
end

for name in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end

Dernière modification le 1497273540000
Sebafrancuz
« Consul »
1497282060000
    • Sebafrancuz#0000
    • Profil
    • Derniers messages
    • Tribu
#2648
  0
Kaspeczko a dit :
Witaaam, potrzebuje kodu gdzie ja jestem adminem tylko i tylko ja mogę teleportować myszki jakąś komendą.

Proszę:
Kod

Code Lua

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
--By Sebafrancuz

Set = {
admin = {"Kaspeczko", "Nick", "Nick"},
teleportation = {},
isntInTp = function(p, a)
for _, v in next, Set.teleportation[a] do
if v.gracz == p then
return false
end
end
return true
end,
textAreaHidden = function(p)
local x, y = 5, 30
ui.addTextArea(1, "<a href='event:rozwiń'>Rozwiń</a>", p, x, y, nil, nil, 0x000000, 0xffffff, 0.5, true)
end,
textArea = function(p)
local x, y, tekst = 5, 30, "<a href='event:zwiń'>Zwiń</a>\n\n"
for players in next, tfm.get.room.playerList do
if Set.isntInTp(players, p) then
tekst = tekst.."<a href='event:wybGr_"..players.."'><R>"..players.."</R></a>\n"
else
tekst = tekst.."<VP>"..players.."</VP>\n"
end
end
ui.addTextArea(1, tekst, p, x, y, nil, nil, 0x000000, 0xffffff, 0.5, true)
end,
}

for _, players in next, Set.admin do
system.bindMouse(players, true)
end

function eventNewPlayer(p)
for _, players in next, Set.admin do
if p == players then
Set.teleportation[p] = {}
Set.textAreaHidden(p)
end
end
end

function eventChatCommand(p, k)
for _, players in next, Set.admin do
if p == players and k:sub(0,2) == "tp" then
if tfm.get.room.playerList[k:sub(4,4):upper()..k:sub(5):lower()] then
table.insert(Set.teleportation[p], {gracz = k:sub(4,4):upper()..k:sub(5):lower(),})
end
end
end
end

function eventTextAreaCallback(id, p, o)
if o == "zwiń" then
Set.textAreaHidden(p)
elseif o == "rozwiń" then
Set.textArea(p)
elseif o:sub(0,5) == "wybGr" then
table.insert(Set.teleportation[p], {gracz = o:sub(7),})
Set.textArea(p)
end
end

function eventMouse(p, x, y)
for i, v in next, Set.teleportation[p] do
tfm.exec.movePlayer(v.gracz, x, y, false, 0, 0, true)
Set.teleportation[p] = {}
Set.textArea(p)
end
end

table.foreach(tfm.get.room.playerList, eventNewPlayer)


Możesz wybierać graczy gdy rozwiniesz okienko lub wpisywać komendę !tp (nick).
Może być paru graczy tepniętych naraz.
Pastel_doll
« Citoyen »
1497701640000
    • Pastel_doll#2437
    • Profil
    • Derniers messages
#2649
  0
Znacie wątek gdzie jest opis roomu #shamousey00(nick)?
Klejox
« Consul »
1497711840000
    • Klejox#0000
    • Profil
    • Derniers messages
    • Tribu
#2650
  1
Wikio00 a dit :
Znacie wątek gdzie jest opis roomu #shamousey00(nick)?

http://atelier801.com/topic?f=6&t=847620&p=1
Pastel_doll
« Citoyen »
1497776220000
    • Pastel_doll#2437
    • Profil
    • Derniers messages
#2651
  0
Klejox a dit :
Wikio00 a dit :
Znacie wątek gdzie jest opis roomu #shamousey00(nick)?

http://atelier801.com/topic?f=6&t=847620&p=1

dziękuje bardzo pomogłeś<3
Nikulaq
« Citoyen »
1498460880000
    • Nikulaq#0000
    • Profil
    • Derniers messages
    • Tribu
#2652
  0
ja bym poprosiła o takie coś:
jak myszka napisze /tfm daje sto serów
jak napiszę !cats dostaje za free taką czapkę czarną z wizerunkiem koteła.

czym bym moła o to prosić :3?
Nikulaq
1498460880000
    • Nikulaq#0000
    • Profil
    • Derniers messages
    • Tribu
#2653
[Modéré par Amegake, raison : Nie pisz więcej niż jednego postu z rzędu. Zamiast tego użyj opcji "Edytuj" dostępnej po naciśnięciu na swoją nazwę.]
Nikulaq
1498460940000
    • Nikulaq#0000
    • Profil
    • Derniers messages
    • Tribu
#2654
[Modéré par Amegake, raison : Nie pisz więcej niż jednego postu z rzędu. Zamiast tego użyj opcji "Edytuj" dostępnej po naciśnięciu na swoją nazwę.]
Explo_rer
« Consul »
1498461300000
    • Explo_rer#1282
    • Profil
    • Derniers messages
#2655
  0
Nikulaq a dit :
ja bym poprosiła o takie coś:
jak myszka napisze /tfm daje sto serów
jak napiszę !cats dostaje za free taką czapkę czarną z wizerunkiem koteła.

czym bym moła o to prosić :3?

e mi się wydaje że to nie jest możliwe przynajmniej legalnie
bo by coś takiego zrobić to chyba trzeba się włamać do kodów gry

Dernière modification le 1498461540000
Ether
« Citoyen »
1498462680000
    • Ether#7048
    • Profil
    • Derniers messages
    • Tribu
#2656
  4
Tymek1238 a dit :

e mi się wydaje że to nie jest możliwe przynajmniej legalnie
bo by coś takiego zrobić to chyba trzeba się włamać do kodów gry

Tak właściwie to to zamówienia tego typu są już wkurzające. NIE MOŻNA, I NIGDY NIE BĘDZIE MOŻNA DODAWAĆ SERÓW ZA POMOCĄ LUA. RZECZY ZE SKLEPU TEŻ NIE MOŻNA DODAWAĆ., a więc

Nikulaq a dit :


czym bym moła o to prosić :3?

Nie. Nie mogłabyś o to prosić.
Klejox
« Consul »
1498464360000
    • Klejox#0000
    • Profil
    • Derniers messages
    • Tribu
#2657
  0
Poprosze o kod na wylaczenie automatycznego szamana.
Rkubi
« Censeur »
1498465020000
    • Rkubi#0000
    • Profil
    • Derniers messages
    • Tribu
#2658
  2
Klejox a dit :
Poprosze o kod na wylaczenie automatycznego szamana.

Code Lua

1
tfm.exec.disableAutoShaman(true)
Martakiko
1498465440000
    • Martakiko#0000
    • Profil
    • Derniers messages
#2659
[Modéré par Amegake, raison : Spam]
Liliatta
« Citoyen »
1498595640000
    • Liliatta#0000
    • Profil
    • Derniers messages
#2660
  0
Poproszę o kod na taką jakby imprezę , w której będę adminem. Jak napiszę komendę ,,!konfetti on'' kolorowe konfetti spada tak jak śnieg jak jest zima , a jak ,,!konfetti off'' wyłączy się. Jak napisze ,,!magia on'' to takie światełka jak w tym skrypcie (Chodzi o to by tak wyglądały)
L,H=800,400
Iskry={0,1,2,4,9,11,13}

function eventLoop()
if impra then
for i=1,(L*H)/1e4 do
tfm.exec.displayParticle(Iskry[math.random(#Iskry)],math.random(0,L),math.random(0,H),0,-3,0,0.16)
end
end
end

function eventNewGame()
XML=(tfm.get.room.xmlMapInfo and tfm.get.room.xmlMapInfo.xml)
if XML then
XML=XML:sub(1,XML:find("/"))
local Tab={}
for par,war in XML:gmatch('(%w+)="(%d+)"') do
Tab[par]=war
end
L,H=(Tab.L or 800),(Tab.H or 400)
end
end

function eventChatCommand(nick,komd)
if komd=="magia" then
impra=1
elseif komd=="szkoła" then
impra=n
end
end
system.disableChatCommandDisplay("magia",true)
system.disableChatCommandDisplay("szkoła",true)
A jak ,, !magia off by się wyłączyły'' . Najlepiej by było by każdy mógłby latać po wpisaniu komendy ,, !impreza ''. Kolor tła tak jak w skrypcie z pogodą jak napiszesz !słońce to jak ja napisze ,, !czerwony '' to światło mogłoby być czerwone , niebieskie , zielone , różowe. (I by adminka skryptu miała czerwony napis a reszta graczy zielone) Nie musi być na tym skrypcie wszystko co napisałam ale jakby było to bardzo dziękuję :)
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • zamówienia na kody.
« ‹ 133 / 149 › »
© Atelier801 2018

Equipe Conditions Générales d'Utilisation Politique de Confidentialité Contact

Version 1.27