×

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
  • /
  • Hogmice
Hogmice
Fpekal
« Citoyen »
1520972520000
    • Fpekal#0000
    • Profil
    • Derniers messages
    • Tribu
#1
  19
  • Wstęp
  • Komendy
  • Mechanika
  • Sterowanie
  • Skrypt
  • Języki
  • Nowości

HOGMICE!
Teraz możesz poczuć się jak Harry Potter!

Przedstawiam wam mój moduł.
Jest to Role Play w pełni bazujący na graczach. (0 NPC!)

Starałem się go pisać tak, aby było go łatwo rozszerzać.


Oczywiście wątek i skrypt będą aktualizowane.

!e___________________Otwarcie ekwipunku
!cdaj [nick] [id] [ilość]____Danie przedmiotu graczowi (dla gracza z rangą: 1)
!daj [nick] [id] [ilość]_____Danie przedmiotu graczowi z twojego ekwipunku
!powiedz [wiadomość]___Wyświetla wiadomość nad głową gracza.
!zrob [wiadomość]______Wyświetla wiadomość nad głową gracza.
!szepnij [wiadomość]____Wyświetla wiadomość nad głową gracza.
!odloz [id] [ilość]________Odkłada przedmiot
!podnies [id] [ilość]______Podnosi przedmiot
!pokazID_____________ Pokazuje numerację ID wszystkich przedmiotów
!uzyj [id]______________Używa przedmiotu (Być może w przyszłości będzie kolejny argument odpowiedzialny za np. używane zaklęcie podczas używania różdżki)

1. Z powodu pokazywania się na czacie WSZYSTKICH wiadomości innych graczy, został zaimplementowany nowy system rozmowy
__Teraz, aby cokolwiek powiedzieć należy użyć komendy '!powiedz'.
2. Kiedy chcemy pokazać innym, że coś zrobiliśmy, należy użyć komendy '!zrob'.
3. Gdy chcemy, aby tylko najbliższym graczom pojawiła się wiadomość, należy użyć komendy '!szepnij'.
4. Przedmiotów, które są za daleko, po prostu nie widzimy.
5. Podczas latania na miotle i czarowania marnuje nam się energia, która jest do tych czynności konieczna.
6. Wczytujący skrypt automatycznie staje się administratorem.
X - Podnoszenie przedmiotów

Aby dodać nowego administratora, należy podążać według instrukcji na ostatnich linijkach skryptu.
Skrypt posiada aktualnie 2 języki. Aby je zmienić należy w 65 linijce zmienić skrót języka.
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
_data = {}

pl = {
command = {
"e",
"cdaj",
"daj",
"powiedz",
"zrob",
"szepnij",
"odloz",
"podnies",
"pokazID",
"uzyj"
},
item = {
"Galeon",
"Sykl",
"Knut",
"Różdżka z rdzeniem z włókna smoczego serca",
"Różdżka z rdzeniem z pióra feniksa",
"Miotła szkolna"
},
ui = {
"Powiedz",
"Szepnij",
"Zrób",
"Użyj",
"Odłóż",
"Ile"
}
}

eng = {
command = {
"i",
"cgive",
"give",
"say",
"do",
"whisper",
"put",
"get",
"showID",
"use"
},
item = {
"Galleon",
"Sickle",
"Knut",
"Wand with the core made of a fiber from a dragon heart",
"Wand with the core made of a phoenix's feather",
"School broom"
},
ui = {
"Say",
"Whisper",
"Do",
"Use",
"Put",
"How much"
}
}

_data.lang = pl
_data.sign = {}
_data.p = {}
_data.item = {}
_data.restoreEnergyTime = 0

for _, com in pairs(_data.lang.command) do
system.disableChatCommandDisplay(com, true)
end

function eventNewPlayer(nick)
_data.p[nick] = {
rang = 0,
energy = 0,
maxEnergy = 50,
flyBy = 0,
inv = {
{id = 1, amount = 10}
},
haveOpenedInv = false,
haveOpenedList = false,
}
ui.addTextArea(202, "", nick, 20, 380, 50, 10, 0x000001, 0x000001, 0.8, true)
ui.addTextArea(510, "Script by <font color='#00FFFF'>Fpekal</font>", nil, 700, 380, 100, 20, 0x000000, 0x000000, 0, true)
ui.addTextArea(205, "<a href='event:1'>" .. _data.lang.ui[1] .. "</a> <a href='event:2'>" .. _data.lang.ui[2] .. "</a> <a href='event:3'>" .. _data.lang.ui[3] .. "</a>", nil, 90, 375, nil, nil, 0x222222, 0x333333, 0.8, true)
system.bindKeyboard(nick, 0, true, true)
system.bindKeyboard(nick, 1, true, true)
system.bindKeyboard(nick, 2, true, true)
system.bindKeyboard(nick, 3, true, true)
system.bindKeyboard(nick, string.byte('X'), true, true)
end

function addSign(text, Time, x, y, range, relX, relY)
if relX == nil then
relX = 0
end
if relY == nil then
relY = 0
end
table.insert(_data.sign, {text = text, Time = Time, x = x, y = y})
local finalText = ""
local text = _data.sign[#_data.sign].text
local czyDluzsze = 0
local nczyDluzsze = 1
local countOfLines = 1
while string.len(text) > 20 do
czyDluzsze = 1
nczyDluzsze = 0
finalText = finalText .. text:sub(0, 20) .. "\n"
text = text:sub(21)
countOfLines = countOfLines + 1
end
finalText = finalText .. text
for nick, n in pairs(tfm.get.room.playerList) do
if math.pow(x - n.x, 2) + math.pow(y - n.y, 2) < math.pow(range, 2) then
ui.addTextArea(#_data.sign, finalText, nick, (_data.sign[#_data.sign].x - nczyDluzsze * (string.len(_data.sign[#_data.sign].text) * 6) / 2 + czyDluzsze * -60) + relX, _data.sign[#_data.sign].y - 40 - 10 * countOfLines + relY, nil, nil, 0x222222, 0x333333, 0.8)
end
end
end

function updateItem()
for id, item in pairs(_data.item) do
for nick, n in pairs(tfm.get.room.playerList) do
if math.sqrt(math.pow(item.x - n.x, 2) + math.pow(item.y - n.y, 2)) < 200 then
ui.addTextArea(id + 100, item.amount .. " " .. _data.lang.item[item.id], nick, item.x - (string.len(_data.lang.item[item.id]) + 2) * 2.5, item.y, nil, nil, 0x024300, 0x024300, 0.8, false)
else
ui.removeTextArea(id + 100, nick)
end
end
end
end

function updateSign()
local clear = {}
local delete = {}
local i = false
for id, sign in pairs(_data.sign) do
if sign.Time ~= nil then
i = true
sign.Time = sign.Time - 1
if sign.Time == 0 then
table.insert(clear, id)
end
end
end
if i == false then
for id in pairs(_data.sign) do
table.insert(delete, id)
end
end
for _, id in pairs(clear) do
ui.removeTextArea(id, nil)
_data.sign[id] = {}
end
for _, id in pairs(delete) do
table.remove(_data.sign, id)
end
end

function restoreEnergy()
_data.restoreEnergyTime = _data.restoreEnergyTime + 1
if _data.restoreEnergyTime == 1 then
for _, n in pairs(_data.p) do
if n.energy < n.maxEnergy then
n.energy = n.energy + 1
end
end
_data.restoreEnergyTime = 0
end
end

function updateEnergy()
for nick, n in pairs(_data.p) do
local i = n.energy
if i == 1 then
i = 2 -- Był błąd z wyświetlaniem
end
ui.addTextArea(203, "", nick, 23, 383, (i / n.maxEnergy) * 44, 4, 0x0000FF, 0x0000FF, 1, true)
end
end

function eventLoop()
updateSign()
updateItem()
restoreEnergy()
updateEnergy()
end

function showBroom(nick, x, y)
local i = 0
for xnick in pairs(_data.p) do
if nick == xnick then
break
end
i = i + 1
end
local right = tfm.get.room.playerList[nick].isFacingRight
tfm.exec.addPhysicObject(i*4+1, x, y, {width = 50, friction = 3})
tfm.exec.addPhysicObject(i*4+2, x + (right and -33 or 33), y-6, {width = 20, friction = 3, type = 12, color = 0x4C2300, angle = (right and 30 or -30)})
tfm.exec.addPhysicObject(i*4+3, x + (right and -35 or 35), y, {width = 20, friction = 3, type = 12, color = 0x4C2300})
tfm.exec.addPhysicObject(i*4+4, x + (right and -33 or 33), y+6, {width = 20, friction = 3, type = 12, color = 0x4C2300, angle = (right and -30 or 30)})
end

function eventKeyboard(nick, key, _, x, y)
ui.removeTextArea(204, nick)
if key == 1 and _data.p[nick].flyBy ~= 0 and _data.p[nick].energy >= 3 then
tfm.exec.movePlayer(nick, 0, -10, true, 0, 1, false)
showBroom(nick, x, y + 10)
_data.p[nick].energy = _data.p[nick].energy - 3
elseif key == 3 and _data.p[nick].flyBy ~= 0 and _data.p[nick].energy >= 3 then
tfm.exec.movePlayer(nick, 0, 10, true, 0, 0, false)
showBroom(nick, x, y + 30)
_data.p[nick].energy = _data.p[nick].energy - 3
elseif key == 0 and _data.p[nick].flyBy ~= 0 and _data.p[nick].energy >= 1 then
tfm.exec.movePlayer(nick, -20, 0, true, 0, 0, false)
showBroom(nick, x - 20, y + 20)
_data.p[nick].energy = _data.p[nick].energy - 1
elseif key == 2 and _data.p[nick].flyBy ~= 0 and _data.p[nick].energy >= 1 then
tfm.exec.movePlayer(nick, 20, 0, true, 0, 0, false)
showBroom(nick, x + 20, y + 20)
_data.p[nick].energy = _data.p[nick].energy - 1
elseif key == string.byte('X') then
local items = {}
for id, item in pairs(_data.item) do
if math.sqrt(math.pow(item.x - x, 2) + math.pow(item.y - y, 2)) < 50 then
table.insert(items, id)
end
end
if #items == 1 then
giveItem(nick, _data.item[items[1]].id, _data.item[items[1]].amount)
for id = items[1], #_data.item do
ui.removeTextArea(id + 100, nil)
end
table.remove(_data.item, items[1])
updateItem()
elseif #items > 1 then
local text = ""
for _, id in pairs(items) do
text = text .. "<a href='event:" .. id .. "'>" .. _data.item[id].amount .. " " .. _data.lang.item[_data.item[id].id] .. "</a>\n"
end
ui.addTextArea(204, text, nick, 20, 40, nil, nil, 0x222222, 0x333333, 0.8, true)
end
end
end

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

function eventTextAreaCallback(id, nick, odp)
if id == 204 then
if _data.item[tonumber(odp)] ~= nil then
giveItem(nick, _data.item[tonumber(odp)].id, _data.item[tonumber(odp)].amount)
for id = tonumber(odp), #_data.item do
ui.removeTextArea(id + 100, nil)
end
table.remove(_data.item, odp)
updateItem()
ui.removeTextArea(204, nick)
end
elseif id == 205 then
if odp == "1" then
ui.addPopup(1, 2, _data.lang.ui[1] .. ":", nick, 276, 150, 228, true)
elseif odp == "2" then
ui.addPopup(2, 2, _data.lang.ui[2] .. ":", nick, 276, 150, 228, true)
else
ui.addPopup(3, 2, _data.lang.ui[3] .. ":", nick, 276, 150, 228, true)
end
elseif id == 0 then
ui.addTextArea(206, "<a href='event:" .. tonumber(odp) * 2 .. "'>" .. _data.lang.ui[4] .. "</a>\n<a href='event:" .. tonumber(odp) * 2 + 1 .. "'>" .. _data.lang.ui[5] .. "</a>", nick, 50, tonumber(odp) * 5 + 50, nil, nil, 0x222222, 0x333333, 0.6, true)
elseif id == 206 then
if tonumber(odp) % 2 == 0 then
useItem(nick, _data.p[nick].inv[math.floor(tonumber(odp) / 2)].id)
else
ui.addPopup(math.floor(tonumber(odp) / 2) + 100, 2, _data.lang.ui[6] .. ":", nick, 276, 150, 228, true)
end
ui.removeTextArea(206, nick)
end
end

function eventPopupAnswer(id, nick, odp)
if id == 1 and odp ~= "" then
addSign(odp, 10, tfm.get.room.playerList[nick].x, tfm.get.room.playerList[nick].y, 200)
elseif id == 3 and odp ~= "" then
addSign("<J>*"..odp.."*</J>", 10, tfm.get.room.playerList[nick].x, tfm.get.room.playerList[nick].y, 200, 16)
elseif id == 2 and odp ~= "" then
addSign("<G>"..odp.."</G>", 10, tfm.get.room.playerList[nick].x, tfm.get.room.playerList[nick].y, 50, 22)
elseif id >= 101 and id <= 200 and odp ~= "" and tonumber(odp) ~= nil then
odp = tonumber(odp)
if _data.p[nick].inv[id - 100].amount >= odp then
putItem(_data.p[nick].inv[id - 100].id, odp, tfm.get.room.playerList[nick].x, tfm.get.room.playerList[nick].y)
giveItem(nick, _data.p[nick].inv[id - 100].id, -odp)
end
end
end

function giveItem(nick, xid, xamount)
nick = nick:sub(0, 1):upper() .. nick:sub(2)
xid = tonumber(xid)
xamount = tonumber(xamount)

if type(xid) == "number" and type(xamount) == "number" and tfm.get.room.playerList[nick] ~= nil then


local aamount = xamount

local i = 0

for _, item in pairs(_data.p[nick].inv) do
i = i + 1
if xid == item.id then
aamount = _data.p[nick].inv[i].amount + aamount
table.remove(_data.p[nick].inv, i)
break
end
end

if aamount > 0 then
table.insert(_data.p[nick].inv, {id = xid, amount = aamount})
end
if _data.p[nick].haveOpenedInv == true then
local text = ""
for id, item in pairs(_data.p[nick].inv) do
text = text .. "<a href='event:" .. id .. "'>" .. item.amount .. " " .. _data.lang.item[item.id] .. "</a>" .. "\n"
end
ui.addTextArea(0, text, nick, 20, 30, nil, nil, 0x222222, 0x333333, 0.8, true)
end
end
end

function putItem(id, xamount, x, y)
id = tonumber(id)
local amount = 0
local delete = {}
for xid, item in pairs(_data.item) do
if math.sqrt(math.pow(item.x - x, 2) + math.pow(item.y - y, 2)) < 50 and id == item.id then
amount = amount + item.amount
table.insert(delete, xid)
end
end
for id = #delete, 1, -1 do
ui.removeTextArea(delete[id] + 100, nil)
table.remove(_data.item, delete[id])
end
if id ~= nil then
table.insert(_data.item, {id = id, amount = xamount + amount, x = x, y = y})
updateItem()
end
end

function useItem(nick, id)
if id == 6 then
_data.p[nick].flyBy = _data.p[nick].flyBy ~= 0 and 0 or id
if _data.p[nick].flyBy == 0 then
local i = 0
for xnick in pairs(_data.p) do
if nick == xnick then
break
end
i = i + 1
end
tfm.exec.removePhysicObject(i * 4 + 1)
tfm.exec.removePhysicObject(i * 4 + 2)
tfm.exec.removePhysicObject(i * 4 + 3)
tfm.exec.removePhysicObject(i * 4 + 4)
end
end
end

function eventChatCommand(nick, com)
local word = {}
for w in com:gmatch("%S+") do
table.insert(word, w)
end
if word[1] == _data.lang.command[1] then
if _data.p[nick].haveOpenedInv == false then
local text = ""
for id, item in pairs(_data.p[nick].inv) do
text = text .. "<a href='event:" .. id .. "'>" .. item.amount .. " " .. _data.lang.item[item.id] .. "</a>" .. "\n"
end
ui.addTextArea(0, text, nick, 20, 30, nil, nil, 0x222222, 0x333333, 0.8, true)
else
ui.removeTextArea(0, nick)
end
_data.p[nick].haveOpenedInv = not(_data.p[nick].haveOpenedInv)
elseif word[1] == _data.lang.command[2] and _data.p[nick].rang == 1 then
giveItem(word[2], word[3], word[4])
elseif word[1] == _data.lang.command[3] and word[4] ~= nil then
if tonumber(word[4]) > 0 and _data.p[word[2]:sub(0, 1):upper()..word[2]:sub(2)] ~= nil then
local i = 0
for _, item in pairs(_data.p[nick].inv) do
if item.id == tonumber(word[3]) then
i = item.amount
end
end
if i >= tonumber(word[4]) then
giveItem(nick, word[3], -word[4])
giveItem(word[2], word[3], word[4])
end
end
elseif word[1] == _data.lang.command[4] then
addSign(com:sub(string.len(word[1])+2), 10, tfm.get.room.playerList[nick].x, tfm.get.room.playerList[nick].y, 200)
elseif word[1] == _data.lang.command[5] then
addSign("<J>*"..com:sub(string.len(word[1])+2).."*</J>", 10, tfm.get.room.playerList[nick].x, tfm.get.room.playerList[nick].y, 200, 16)
elseif word[1] == _data.lang.command[6] then
addSign("<G>"..com:sub(string.len(word[1])+2).."</G>", 10, tfm.get.room.playerList[nick].x, tfm.get.room.playerList[nick].y, 50, 22)
elseif word[1] == _data.lang.command[7] then
if word[2] ~= nil and word[3] ~= nil and tonumber(word[3]) ~= nil then
if tonumber(word[3]) > 0 then
local i = 0
for _, item in pairs(_data.p[nick].inv) do
if item.id == tonumber(word[2]) then
i = item.amount
end
end
if i >= tonumber(word[3]) then
giveItem(nick, word[2], -word[3])
putItem(word[2], word[3], tfm.get.room.playerList[nick].x, tfm.get.room.playerList[nick].y)
updateItem()
end
end
end
elseif word[1] == _data.lang.command[8] then
if word[2] ~= nil and word[3] ~= nil and tonumber(word[3]) ~= nil then
if tonumber(word[3]) > 0 then
for id, item in pairs(_data.item) do
if tonumber(item.id) == tonumber(word[2]) and tonumber(item.amount) >= tonumber(word[3]) and math.sqrt(math.pow(item.x - tfm.get.room.playerList[nick].x, 2) + math.pow(item.y - tfm.get.room.playerList[nick].y, 2)) < 50 then
giveItem(nick, word[2], word[3])
item.amount = item.amount - tonumber(word[3])
if tonumber(item.amount) == 0 then
ui.removeTextArea(id + 100, nil)
table.remove(_data.item, id)
break
end
end
end
end
end
elseif word[1] == _data.lang.command[9] then
local text = ""
for id, item in pairs(_data.lang.item) do
text = text .. id .. " " .. item .. "\n"
end
if _data.p[nick].haveOpenedList == false then
ui.addTextArea(201, text, nick, 20, 30, nil, nil, 0x222222, 0x333333, 0.8, true)
else
ui.removeTextArea(201, nick)
end
_data.p[nick].haveOpenedList = not _data.p[nick].haveOpenedList
elseif word[1] == _data.lang.command[10] and tonumber(word[2]) ~= nil then
local test = false
for _, item in pairs(_data.p[nick].inv) do
if item.id == tonumber(word[2]) then
test = true
end
end
if test == true then
useItem(nick, tonumber(word[2]))
end
end
end

-- Wykrywanie, kto wczytał skrpyt zrobione przez Tocutoeltuco
local _, nickname = pcall(nil)
_data.p[string.match(nickname, "(.-)%.")].rang = 1
-------------------------------------------------------------

-- Aby dodać gracza do administratorów należy wpisać przykładowo:
-- _data.p["Fpekal#0000"].rang = 1

  • Polski - pl
  • English - eng

13.03.2018:
- Dodano wątek

16.03.2018:
- Poprawa systemu przedmiotów: kiedy w odległości 50 jednostek od przedmiotu pojawi się inny przedmiot o tym samym id, połączą się.
- Dodano możliwość podnoszenia przedmiotów dzięki klawiszowi 'X'.
- Dodano możliwość zejścia z miotły (nikomu wcześniej nie była potrzebna).

18.03.2018:
- Dodano graficzne wspieranie komend ("powiedz", "szepnij", "zrób", "użyj", "odłóż").

21.03.2018:
- Naprawiono używanie przedmiotów.
- Naprawiono stackowanie się przedmiotów, które zostały odłożone.
- Dodano wykrywanie, kto wczytał skrypt. Teraz automatycznie ustawiany jest jako administrator.

Dernière modification le 1521640560000
Youseksiak
« Censeur »
1520974200000
    • Youseksiak#0000
    • Profil
    • Derniers messages
    • Tribu
#2
  10
szkoda myslalem ze to jakas reklama podrobki transformice i chcialem zglaszac, troche klikbejt tytuł
Ekhm, fajny skrypt, powodzenia w rozwijaniu.
Didshe
« Consul »
1520974680000
    • Didshe#0000
    • Profil
    • Derniers messages
    • Tribu
#3
  2
Youseksiak a dit :
szkoda myslalem ze to jakas reklama podrobki transformice i chcialem zglaszac, troche klikbejt tytuł
Ekhm, fajny skrypt, powodzenia w rozwijaniu.

Też tak myślałam

> Powodzenia!
Aranea
« Consul »
1520976360000
    • Aranea#1648
    • Profil
    • Derniers messages
    • Tribu
#4
  5
Myślałam że to wątek o podróbce Transformice :'D

Wypróbuję ten moduł, wydaje się być ciekawy
Rohere
« Consul »
1520981340000
    • Rohere#0000
    • Profil
    • Derniers messages
    • Tribu
#5
  1
Czy w przyszłości zmienisz komendy na klawisze?
Fpekal
« Citoyen »
1521049800000
    • Fpekal#0000
    • Profil
    • Derniers messages
    • Tribu
#6
  1
Rohere a dit :
Czy w przyszłości zmienisz komendy na klawisze?

Myślałem nad tym, ale jak miały by wtedy wyglądać komendy z argumentami?
Rohere
« Consul »
1521052140000
    • Rohere#0000
    • Profil
    • Derniers messages
    • Tribu
#7
  1
Fpekal a dit :
Rohere a dit :
Czy w przyszłości zmienisz komendy na klawisze?

Myślałem nad tym, ale jak miały by wtedy wyglądać komendy z argumentami?

Gdy np. wciskamy X, i wokół leży więcej niż 1 rzecz do podniesienia wyskakują nam tabelki z Callbackami, w których będzie można wybrać argumenty.

Można by też zrobić czat na callback, po kliknięciu wyświetlałby popup z wolnym miejscem
to ci się przyda: Popup editor

i brałoby stamtąd argumenty do twojego nowego czatu.

To może da się zrobić, ale jest czasochłonne. Jak dla mnie wszystko jest spoko, prócz używania komend do podnoszenia i dawania.
Powodzenia.

Dernière modification le 1521052320000
Hosual
« Consul »
1521122640000
    • Hosual#0000
    • Profil
    • Derniers messages
    • Tribu
#8
  1
od razu rozpoznałam że to hp oja
na pewno przetestuję, powodzenia w rozwijaniu =w=
Nat_a
« Consul »
1521230760000
    • Nat_a#9157
    • Profil
    • Derniers messages
#9
  1
bardzo fajne

Dernière modification le 1567110000000
Nikodem62
« Citoyen »
1521545160000
    • Nikodem62#0000
    • Profil
    • Derniers messages
#10
  1
A ja nie ogarniam gdzir te język i nick napisać ikw de
Evermore
« Sénateur »
1521786420000
    • Evermore#9016
    • Profil
    • Derniers messages
#11
  3
Na początku myślałem, że to jest jakaś reklama podróbki tfm. :D
Świetny moduł, na pewno kiedyś zagram. Powodzenia! ;3
Nat_a
« Consul »
1521800400000
    • Nat_a#9157
    • Profil
    • Derniers messages
#12
  1
Jak coś zdobyć? Czemu na mapie mi się nie generują przedmioty? ;-;
I_ex
« Citoyen »
1521800520000
    • I_ex#1142
    • Profil
    • Derniers messages
#13
  1
Youseksiak a dit :
szkoda myslalem ze to jakas reklama podrobki transformice i chcialem zglaszac, troche klikbejt tytuł
Ekhm, fajny skrypt, powodzenia w rozwijaniu.

Też tak pomyślałam, ale ogółem podoba mi się ^^
Usmiechnij_sie
« Consul »
1521811080000
    • Usmiechnij_sie#9743
    • Profil
    • Derniers messages
    • Tribu
#14
  1
Fajne, fajne ^^
Aernix
« Consul »
1522178700000
    • Aernix#1482
    • Profil
    • Derniers messages
    • Tribu
#15
  1
Usmiechnij_sie a dit :
Fajne, fajne ^^
Aernix
« Consul »
1522178700000
    • Aernix#1482
    • Profil
    • Derniers messages
    • Tribu
#16
  1
/delete

Dernière modification le 1554143700000
Kickaricka3
« Consul »
1657958400000
    • Kickaricka3#9256
    • Profil
    • Derniers messages
    • Tribu
#17
  3
myślałam że chodzi o Hugmice XD
Fajny skrypt!
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • Hogmice
© Atelier801 2018

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

Version 1.27