April 03, 2025, 04:42:43 pm

The Gang Garrison 2 Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

NOTICE: Wondering where all the forums have gone?

Join the community Discord server!

Poll

Add /votekick? (lasts 1 round)

yes
- 57 (83.8%)
no
- 11 (16.2%)

Total Members Voted: 59


Pages: 1 ... 12 13 [14] 15 16

Author Topic: [server-sent plugin] Chat - Console!  (Read 31747 times)

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4886
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
Re: [server-sent plugin] Chat - Console!
« Reply #195 on: October 10, 2013, 02:42:25 am »

from the looks of it, if you have a statue code you can type /help me miku to get a miku
not exactly  8D
yes uh huh...
Code: [Select]
    } else if ds_list_find_value(argument0,1) == 'me miku!' {
        if hasRewardStatue(_player) || _player.hasMiku = 0 {   //only oldfags may have miku's help, so even if you (probably) can read code you can't use it :3
            _player.hasMiku = true;
            write_ubyte(global.chatSendBuffer,202);
            write_ubyte(global.chatSendBuffer,ds_list_find_index(global.players,_player));
            with(Player) {
                if hasChat = true PluginPacketSendTo(global.chatPacketID,global.chatSendBuffer, id);
            }
            buffer_clear(global.chatSendBuffer);
        } else {
            _message = 'OEven though you know the secret command, you are still not cool enough for miku'+chr(39)+'s help!';
            playerId = 255;
            _team = 0;
            target = _player;
            if target != global.myself event_user(2);
            else event_user(4);
        }
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack

ajf

  • (Ex-?)Developer and forum/web admin
  • *****
  • Karma: 7
  • Offline Offline
  • Posts: 3421
  • she's never quite as dead as you think
Re: [server-sent plugin] Chat - Console!
« Reply #196 on: October 10, 2013, 04:03:08 am »

yes but that doesn't work

also more than just golden statue holders can use it
Logged
did you know that spinning stars work like this???

I've seen things you people wouldn't believe. execute_strings on fire off the shoulder of Overmars. I watched object-beams glitter in the dark near the room_goto_fix. All those moments will be lost in time, like tears...in...rain. Time to die.

Nova

  • Seasoned Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 1648
  • Personal Text
Re: [server-sent plugin] Chat - Console!
« Reply #197 on: October 10, 2013, 07:52:34 am »


___________________________________________
COMPILATION ERROR in string to be executed
Error in code at line 23:
           if hasRewardStatue(_player) || _player.hasMiku = 0 {   //only oldfags may have miku's help, so even if you (probably) can read code you can't use it :3
             ^
at position 12: Unknown function or script: hasRewardStatue

___________________________________________
ERROR in
action number 1
of Alarm Event for alarm 0
for object __newobject825:

Error in code at line 33:
           oldMapIndex = global.currentMapIndex;
                               ^
at position 30: Unknown variable currentMapIndex


Help.
Logged

ajf

  • (Ex-?)Developer and forum/web admin
  • *****
  • Karma: 7
  • Offline Offline
  • Posts: 3421
  • she's never quite as dead as you think
Re: [server-sent plugin] Chat - Console!
« Reply #198 on: October 10, 2013, 10:24:25 am »

lorgan's lazy and hasn't bothered to fix it 8D
Logged
did you know that spinning stars work like this???

I've seen things you people wouldn't believe. execute_strings on fire off the shoulder of Overmars. I watched object-beams glitter in the dark near the room_goto_fix. All those moments will be lost in time, like tears...in...rain. Time to die.

Lord SecretMan

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 507
  • Idiot.
Re: [server-sent plugin] Chat - Console!
« Reply #199 on: October 10, 2013, 11:29:44 am »

lorgan's lazy and hasn't bothered to fix it 8D
so he wasn't lying D8
Logged

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4886
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
Re: [server-sent plugin] Chat - Console!
« Reply #200 on: November 02, 2013, 02:16:54 am »

yo dawg hotfix right here

just dump this into your plugins folder when you host (this works alongside the actual plugin, it dosnt replace your chat plugin) so someone (totally not me  :hehe:) dosnt take down a server by typing /help me miku

CHAT V5 HOTFIX!
« Last Edit: April 01, 2025, 03:23:58 pm by MedO »
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack

Nova

  • Seasoned Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 1648
  • Personal Text
Re: [server-sent plugin] Chat - Console!
« Reply #201 on: November 02, 2013, 03:12:13 pm »

Arctic this still happened even with hotfix


___________________________________________
ERROR in
action number 1
of Other Event: User Defined 9
for object __newobject817:

Error in code at line 9:
           else _offset = global.currentMapIndex;
                                ^
at position 31: Unknown variable currentMapIndex

Does not happen without chat so I guess it is a chat-bug.
Logged

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4886
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
Re: [server-sent plugin] Chat - Console!
« Reply #202 on: November 02, 2013, 04:33:34 pm »

Arctic this still happened even with hotfix


___________________________________________
ERROR in
action number 1
of Other Event: User Defined 9
for object __newobject817:

Error in code at line 9:
           else _offset = global.currentMapIndex;
                                ^
at position 31: Unknown variable currentMapIndex

Does not happen without chat so I guess it is a chat-bug.
oh, i didnt know that bug existed (somehow i didnt notice you post it)

EDIT:huh, im not exactly sure why that happens either
« Last Edit: November 02, 2013, 09:32:54 pm by That 70's Halloween »
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4886
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
Re: [server-sent plugin] Chat - Console!
« Reply #203 on: November 02, 2013, 09:38:51 pm »

with me not knowing why that happens, it becomes followed by me not knowing what im doing so i set the variable to 0 in the create event so you can test that and see that happens

Code: [Select]
if !variable_global_exists('chatWindow') global.chatWindow = object_add();
object_event_add(global.chatWindow,ev_create,0,"
    global.currentMapIndex = 0;
");
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack

ajf

  • (Ex-?)Developer and forum/web admin
  • *****
  • Karma: 7
  • Offline Offline
  • Posts: 3421
  • she's never quite as dead as you think
Re: [server-sent plugin] Chat - Console!
« Reply #204 on: November 03, 2013, 05:06:07 am »

with me not knowing why that happens, it becomes followed by me not knowing what im doing so i set the variable to 0 in the create event so you can test that and see that happens

Code: [Select]
if !variable_global_exists('chatWindow') global.chatWindow = object_add();
object_event_add(global.chatWindow,ev_create,0,"
    global.currentMapIndex = 0;
");
Arctic, that will make the current map repeat forever
Logged
did you know that spinning stars work like this???

I've seen things you people wouldn't believe. execute_strings on fire off the shoulder of Overmars. I watched object-beams glitter in the dark near the room_goto_fix. All those moments will be lost in time, like tears...in...rain. Time to die.

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4886
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
Re: [server-sent plugin] Chat - Console!
« Reply #205 on: November 03, 2013, 11:00:00 am »

well, i have no idea how to fix it then
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack

Elliot Does Gaming

  • Junior Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 102
    • My origins!
Re: [server-sent plugin] Chat - Console!
« Reply #206 on: November 22, 2013, 08:03:04 pm »

Uhh... How does hotfix work? Do I put it in some certain spot?
Logged

Phantom Brave

  • All Hail Classicwell
  • Moderator
  • *****
  • Karma: 70
  • Offline Offline
  • Posts: 12531
  • Another one --
Re: [server-sent plugin] Chat - Console!
« Reply #207 on: November 25, 2013, 06:41:50 pm »

lol
Logged

http://steamcommunity.com/id/wareya/
ladies and gentlemen i would like to announce that the fact of the matter is up that the fact of the matter is a fact and it matters

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4886
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
Re: [server-sent plugin] Chat - Console!
« Reply #208 on: November 25, 2013, 07:21:08 pm »

Code: [Select]
COMPILATION ERROR in string to be executed
Error in code at line 23:
           if hasRewardStatue(_player) || _player.hasMiku = 0 {   //only oldfags may have miku's help, so even if you (probably) can read code you can't use it :3
             ^
at position 12: Unknown function or script: hasRewardStatue

What is this?


yo dawg hotfix right here

just dump this into your plugins folder when you host (this works alongside the actual plugin, it dosnt replace your chat plugin) so someone (totally not me  :hehe:) dosnt take down a server by typing /help me miku

CHAT V5 HOTFIX!
« Last Edit: April 01, 2025, 03:24:41 pm by MedO »
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4886
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
Re: [server-sent plugin] Chat - Console!
« Reply #209 on: December 24, 2013, 11:37:25 am »

ehhhhhhhhh, kayyyyyyyyyyy
people are using the new chat again so i decided to make an attempt at updating the hotfix to fix the mapindex problem too
link is the same as the old link
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack
Pages: 1 ... 12 13 [14] 15 16
 

Page created in 0.019 seconds with 40 queries.