Scripta koju koristim: lvrcr
Detaljan opis problema: Pa ja sam ovu skriptu koristio prije oko nekolko mjeseci, onda sam uradio re-instal na kompijuter koji koristim i sad kad je skinem i complite izbacuje mi neki error, da li bi mogao neko da mi vidi da nesto mi ne hvali na linijuako nije problem
Dio Skripte:
public OnGameModeInit()
{
EchoConnection = ircConnect("irc.gtanet.com", 6667, "EchoBot");
SetGameModeText("[Lvrcnr] V.1.3.3.7");
SetTeamCount(1);
AllowInteriorWeapons(1);
EnableTirePopping(1);
EnableStuntBonusForAll(1);
SetWorldTime(12);
AllowAdminTeleport(1);
UsePlayerPedAnims();
ircSay(EchoConnection, EchoChan,"2####################################");
ircSay(EchoConnection, EchoChan,"2################");
ircSay(EchoConnection, EchoChan,"2Las Venturas");
ircSay(EchoConnection, EchoChan,"2Roleplay/Cops/Robbers");
ircSay(EchoConnection, EchoChan,"2Version 1.3.3.7");
ircSay(EchoConnection, EchoChan,"2################");
ircSay(EchoConnection, EchoChan,"2####################################");
i tako dolje a evo linije gde mi izbacuje error
EchoConnection = ircConnect("irc.gtanet.com", 6667, "EchoBot");
Neke slike/video?: http://www.zaslike.com/files/huyqada79m7r7h4qrgc5.png
Treba mi ovaj game mod ko ozeblo sunce
Imaš IRC include?
Otvori taj file (irc.inc) i provjeri da li ima ircConnect funkcija u njemu.. (Ili ga uploadaj negdje pa ga nama posalji)..
Zasto uopce i koristis IRC?
Citat: LuKsA poslato Mart 09, 2014, 15:48:23 POSLE PODNE
Otvori taj file (irc.inc) i provjeri da li ima ircConnect funkcija u njemu.. (Ili ga uploadaj negdje pa ga nama posalji)..
Zasto uopce i koristis IRC?
ne korstim ja brate nego mi je stigao uz gamemode, sta mogu ? aj sad cu proveriti pa ti javim
Mozes ga obrisat i obrisat sve njegove funkcije jer sumnjam da ces ikoju koristit.
Citat: LuKsA poslato Mart 09, 2014, 15:53:10 POSLE PODNE
Mozes ga obrisat i obrisat sve njegove funkcije jer sumnjam da ces ikoju koristit.
ovo je sve sto ima u irc fajl
/*
* Copyright (C) 2012 Incognito
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <a_samp>
// Enumerator
enum
{
E_IRC_CONNECT_ATTEMPTS,
E_IRC_CONNECT_DELAY,
E_IRC_CONNECT_TIMEOUT,
E_IRC_RECEIVE_TIMEOUT
}
// Natives
native IRC_Connect(const server[], port, const nickname[], const realname[], const username[], bool:ssl = false, localip[] = "");
native IRC_Quit(botid, const message[] = "");
native IRC_JoinChannel(botid, const channel[], const key[] = "");
native IRC_PartChannel(botid, const channel[], const message[] = "");
native IRC_ChangeNick(botid, const nick[]);
native IRC_SetMode(botid, const target[], const mode[]);
native IRC_Say(botid, const target[], const message[]);
native IRC_Notice(botid, const target[], const message[]);
native IRC_IsUserOnChannel(botid, const channel[], const user[]);
native IRC_InviteUser(botid, const channel[], const user[]);
native IRC_KickUser(botid, const channel[], const user[], const message[] = "");
native IRC_GetUserChannelMode(botid, const channel[], const user[], dest[]);
native IRC_GetChannelUserList(botid, const channel[], dest[], maxlength = sizeof dest);
native IRC_SetChannelTopic(botid, const channel[], const topic[]);
native IRC_RequestCTCP(botid, const user[], const message[]);
native IRC_ReplyCTCP(botid, const user[], const message[]);
native IRC_SendRaw(botid, const message[]);
native IRC_CreateGroup();
native IRC_DestroyGroup(groupid);
native IRC_AddToGroup(groupid, botid);
native IRC_RemoveFromGroup(groupid, botid);
native IRC_GroupSay(groupid, const target[], const message[]);
native IRC_GroupNotice(groupid, const target[], const message[]);
native IRC_SetIntData(botid, data, value);
// Callbacks
forward IRC_OnConnect(botid, ip[], port);
forward IRC_OnDisconnect(botid, ip[], port, reason[]);
forward IRC_OnConnectAttempt(botid, ip[], port);
forward IRC_OnConnectAttemptFail(botid, ip[], port, reason[]);
forward IRC_OnJoinChannel(botid, channel[]);
forward IRC_OnLeaveChannel(botid, channel[], message[]);
forward IRC_OnInvitedToChannel(botid, channel[], invitinguser[], invitinghost[]);
forward IRC_OnKickedFromChannel(botid, channel[], oppeduser[], oppedhost[], message[]);
forward IRC_OnUserDisconnect(botid, user[], host[], message[]);
forward IRC_OnUserJoinChannel(botid, channel[], user[], host[]);
forward IRC_OnUserLeaveChannel(botid, channel[], user[], host[], message[]);
forward IRC_OnUserKickedFromChannel(botid, channel[], kickeduser[], oppeduser[], oppedhost[], message[]);
forward IRC_OnUserNickChange(botid, oldnick[], newnick[], host[]);
forward IRC_OnUserSetChannelMode(botid, channel[], user[], host[], mode[]);
forward IRC_OnUserSetChannelTopic(botid, channel[], user[], host[], topic[]);
forward IRC_OnUserSay(botid, recipient[], user[], host[], message[]);
forward IRC_OnUserNotice(botid, recipient[], user[], host[], message[]);
forward IRC_OnUserRequestCTCP(botid, user[], host[], message[]);
forward IRC_OnUserReplyCTCP(botid, user[], host[], message[]);
forward IRC_OnReceiveNumeric(botid, numeric, message[]);
forward IRC_OnReceiveRaw(botid, message[]);
// Stock Functions
stock IRC_IsVoice(botid, channel[], user[])
{
new mode[2];
IRC_GetUserChannelMode(botid, channel, user, mode);
switch (mode[0])
{
case '+', '%', '@', '&', '!', '*', '~', '.':
{
return 1;
}
}
return 0;
}
stock IRC_IsHalfop(botid, channel[], user[])
{
new mode[2];
IRC_GetUserChannelMode(botid, channel, user, mode);
switch (mode[0])
{
case '%', '@', '&', '!', '*', '~', '.':
{
return 1;
}
}
return 0;
}
stock IRC_IsOp(botid, channel[], user[])
{
new mode[2];
IRC_GetUserChannelMode(botid, channel, user, mode);
switch (mode[0])
{
case '@', '&', '!', '*', '~', '.':
{
return 1;
}
}
return 0;
}
stock IRC_IsAdmin(botid, channel[], user[])
{
new mode[2];
IRC_GetUserChannelMode(botid, channel, user, mode);
switch (mode[0])
{
case '&', '!', '*', '~', '.':
{
return 1;
}
}
return 0;
}
stock IRC_IsOwner(botid, channel[], user[])
{
new mode[2];
IRC_GetUserChannelMode(botid, channel, user, mode);
switch (mode[0])
{
case '~', '.':
{
return 1;
}
}
return 0;
}
// Channel Command System
#define CHANNEL_PREFIX '#'
#define COMMAND_PREFIX '!'
#define IRCCMD:%1(%2) \
forward irccmd_%1(%2); \
public irccmd_%1(%2)
#define irccmd(%1,%2,%3,%4,%5,%6) \
IRCCMD:%1(%2, %3, %4, %5, %6)
#if !defined isnull
#define isnull(%1) \
((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
#endif
static bool:IRC_g_OUS = false;
public OnFilterScriptInit()
{
IRC_g_OUS = funcidx("IRC_OUS") != -1;
if (funcidx("IRC_OnFilterScriptInit") != -1)
{
return CallLocalFunction("IRC_OnFilterScriptInit", "");
}
return 1;
}
#if defined _ALS_OnFilterScriptInit
#undef OnFilterScriptInit
#else
#define _ALS_OnFilterScriptInit
#endif
#define OnFilterScriptInit IRC_OnFilterScriptInit
forward IRC_OnFilterScriptInit();
public OnGameModeInit()
{
IRC_g_OUS = funcidx("IRC_OUS") != -1;
if (funcidx("IRC_OnGameModeInit") != -1)
{
return CallLocalFunction("IRC_OnGameModeInit", "");
}
return 1;
}
#if defined _ALS_OnGameModeInit
#undef OnGameModeInit
#else
#define _ALS_OnGameModeInit
#endif
#define OnGameModeInit IRC_OnGameModeInit
forward IRC_OnGameModeInit();
public IRC_OnUserSay(botid, recipient[], user[], host[], message[])
{
if (recipient[0] == CHANNEL_PREFIX && message[0] == COMMAND_PREFIX)
{
new function[32], pos = 0;
while (message[++pos] > ' ')
{
function[pos - 1] = tolower(message[pos]);
}
format(function, sizeof(function), "irccmd_%s", function);
while (message[pos] == ' ')
{
pos++;
}
if (!message[pos])
{
CallLocalFunction(function, "dssss", botid, recipient, user, host, "\1");
}
else
{
CallLocalFunction(function, "dssss", botid, recipient, user, host, message[pos]);
}
}
if (IRC_g_OUS)
{
return CallLocalFunction("IRC_OUS", "dssss", botid, recipient, user, host, message);
}
return 1;
}
#if defined _ALS_IRC_OnUserSay
#undef IRC_OnUserSay
#else
#define _ALS_IRC_OnUserSay
#endif
#define IRC_OnUserSay IRC_OUS
forward IRC_OUS(botid, recipient[], user[], host[], message[]);
Mozes li mi pomoci gde i sta da ubacim ?
Obrisi samo include i sve vezano uz IRC; 99% sam siguran da ga nemislis koristit..
Citat: LuKsA poslato Mart 09, 2014, 15:57:46 POSLE PODNE
Obrisi samo include i sve vezano uz IRC; 99% sam siguran da ga nemislis koristit..
Ali ima systema sa irc koliko oces sta da radim sa njima cio GM da izbrisem, trebalo bi mi ovo, ovaj mod nije editovan ovaj gm je jos od prije 5 godina vise ga niko nije edotovo. pff nzm sta mu bi od jednom... aj daj mi najlaksi nacin da ovo pobrisem i sta treba da maknem
Citat: Arnel_Bp poslato Mart 09, 2014, 15:59:37 POSLE PODNE
Citat: LuKsA poslato Mart 09, 2014, 15:57:46 POSLE PODNE
Obrisi samo include i sve vezano uz IRC; 99% sam siguran da ga nemislis koristit..
Ali ima systema sa irc koliko oces sta da radim sa njima cio GM da izbrisem, trebalo bi mi ovo, ovaj mod nije editovan ovaj gm je jos od prije 5 godina vise ga niko nije edotovo. pff nzm sta mu bi od jednom... aj daj mi najlaksi nacin da ovo pobrisem i sta treba da maknem
Mozeli iko pomoci ?
Citat: Arnel_Bp poslato Mart 09, 2014, 15:59:37 POSLE PODNE
Citat: LuKsA poslato Mart 09, 2014, 15:57:46 POSLE PODNE
Obrisi samo include i sve vezano uz IRC; 99% sam siguran da ga nemislis koristit..
Ali ima systema sa irc koliko oces sta da radim sa njima cio GM da izbrisem, trebalo bi mi ovo, ovaj mod nije editovan ovaj gm je jos od prije 5 godina vise ga niko nije edotovo. pff nzm sta mu bi od jednom... aj daj mi najlaksi nacin da ovo pobrisem i sta treba da maknem
Pa ako zelis obrisat obrises sve vezano uz to, znas ti uopce sta je IRC i cemu sluzi?
Citat: LuKsA poslato Mart 09, 2014, 20:53:49 POSLE PODNE
Citat: Arnel_Bp poslato Mart 09, 2014, 15:59:37 POSLE PODNE
Citat: LuKsA poslato Mart 09, 2014, 15:57:46 POSLE PODNE
Obrisi samo include i sve vezano uz IRC; 99% sam siguran da ga nemislis koristit..
Ali ima systema sa irc koliko oces sta da radim sa njima cio GM da izbrisem, trebalo bi mi ovo, ovaj mod nije editovan ovaj gm je jos od prije 5 godina vise ga niko nije edotovo. pff nzm sta mu bi od jednom... aj daj mi najlaksi nacin da ovo pobrisem i sta treba da maknem
Pa ako zelis obrisat obrises sve vezano uz to, znas ti uopce sta je IRC i cemu sluzi?
znam osnovne stvari sa irc se jos nisam upozno...
Pa onda obrisi jer cisto sumnjam da ces ga koristit.