PDA

Просмотр полной версии : [Вопрос] error 017: undefined symbol "fexist"



motya
10.09.2016, 12:40
Ошибки:
C:\Users\Admin\Desktop\League 0.1.4h\gamemodes\League.pwn(1806) : error 025: function heading differs from prototype
C:\Users\Admin\Desktop\League 0.1.4h\gamemodes\League.pwn(1816) : error 017: undefined symbol "VectorSize"
C:\Users\Admin\Desktop\League 0.1.4h\gamemodes\League.pwn(1826) : error 025: function heading differs from prototype
C:\Users\Admin\Desktop\League 0.1.4h\gamemodes\League.pwn(4315) : error 017: undefined symbol "NetStats_PacketLossPercent"
C:\Users\Admin\Desktop\League 0.1.4h\gamemodes\League.pwn(4825) : error 017: undefined symbol "SetPlayerMoney"

Код:
1806:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart)
1816:
if(VectorSize(m-x,n-y,k-z)>200.0)
1826:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
4315:
format(strfps, sizeof(strfps), "~w~Ping: %d - FPS: %d ~n~~w~Dmg: %d - ~w~PL: %.2f", GetPlayerPing(i), GetPlayerFPS(i), floatround(Player[i][LastDamage]),NetStats_PacketLossPercent(i));
4825:
SetPlayerMoney(i,-floatround(Player[i][pKills]));

motya
10.09.2016, 13:21
Ребята я вот обновил include до версии 0.3.7 SA:MP. Теперь этих вот ошибок нету:

C:\Users\Admin\Desktop\League 0.1.4h\gamemodes\League.pwn(1806) : error 025: function heading differs from prototype
C:\Users\Admin\Desktop\League 0.1.4h\gamemodes\League.pwn(1816) : error 017: undefined symbol "VectorSize"
C:\Users\Admin\Desktop\League 0.1.4h\gamemodes\League.pwn(1826) : error 025: function heading differs from prototype
C:\Users\Admin\Desktop\League 0.1.4h\gamemodes\League.pwn(4315) : error 017: undefined symbol "NetStats_PacketLossPercent"
C:\Users\Admin\Desktop\League 0.1.4h\gamemodes\League.pwn(4825) : error 017: undefined symbol "SetPlayerMoney"
Теперь вот такие!!

C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(32) : error 017: undefined symbol "fexist"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(32) : warning 215: expression has no effect
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(32) : error 001: expected token: ";", but found ")"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(32) : error 029: invalid expression, assumed zero
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(32) : fatal error 107: too many error messages on one line

DeimoS
10.09.2016, 13:57
Список инклюдов, подключаемых к моду, предоставь

motya
10.09.2016, 14:00
Список инклюдов, подключаемых к моду, предоставь


#include a_samp
#include Dini
#include core
#include float
#include string
#include file
#include time
#include datagram
#include a_players
#include a_vehicles
#include a_objects
#include a_sampdb

в папке include они есть!

DeimoS
10.09.2016, 14:42
#include a_samp
#include Dini
#include core
#include float
#include string
#include file
#include time
#include datagram
#include a_players
#include a_vehicles
#include a_objects
#include a_sampdb

в папке include они есть!

Эмм, для чего ты повторно подключаешь инклюды, которые находятся после "Dini", если их подключение прописано в a_samp? Хотя твоё дело.
Сделай так

#include a_samp
#include core
#include float
#include string
#include file
#include time
#include datagram
#include a_players
#include a_vehicles
#include a_objects
#include a_sampdb

#include Dini

motya
10.09.2016, 14:45
Эмм, для чего ты повторно подключаешь инклюды, которые находятся после "Dini", если их подключение прописано в a_samp? Хотя твоё дело.
Сделай так

#include a_samp
#include core
#include float
#include string
#include file
#include time
#include datagram
#include a_players
#include a_vehicles
#include a_objects
#include a_sampdb

#include Dini

Сделал как ты сказал теперь вот это:

C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\float.inc(0) : error 075: input line too long (after substitutions)
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(26) : error 017: undefined symbol "print"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(27) : error 017: undefined symbol "print"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(28) : error 017: undefined symbol "print"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(33) : warning 235: public function lacks forward declaration (symbol "OnGameModeInit")
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(36) : error 017: undefined symbol "SetGameModeText"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(37) : error 017: undefined symbol "AddPlayerClass"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(41) : warning 235: public function lacks forward declaration (symbol "OnGameModeExit")
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(46) : warning 235: public function lacks forward declaration (symbol "OnPlayerRequestClass")
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(48) : error 017: undefined symbol "SetPlayerPos"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(49) : error 017: undefined symbol "SetPlayerCameraPos"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(50) : error 017: undefined symbol "SetPlayerCameraLookAt"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(54) : warning 235: public function lacks forward declaration (symbol "OnPlayerConnect")
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(59) : warning 235: public function lacks forward declaration (symbol "OnPlayerDisconnect")
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(64) : warning 235: public function lacks forward declaration (symbol "OnPlayerSpawn")
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(69) : warning 235: public function lacks forward declaration (symbol "OnPlayerDeath")
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(74) : warning 235: public function lacks forward declaration (symbol "OnVehicleSpawn")
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(79) : warning 235: public function lacks forward declaration (symbol "OnVehicleDeath")
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(84) : warning 235: public function lacks forward declaration (symbol "OnPlayerText")
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(89) : warning 235: public function lacks forward declaration (symbol "OnPlayerCommandText")
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(91) : error 017: undefined symbol "strcmp"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(91) : warning 215: expression has no effect
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(91) : warning 215: expression has no effect
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(91) : warning 215: expression has no effect
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(91) : warning 215: expression has no effect
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(91) : error 001: expected token: ";", but found ")"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(91) : error 029: invalid expression, assumed zero
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(91) : fatal error 107: too many error messages on one line

Daniel_Cortez
10.09.2016, 14:53
Покажите содержимое string.inc. Не удивлюсь, если там спрятан какой-нибудь бэкдор на админку или привязка сервера к IP на хостинге.

motya
10.09.2016, 15:12
Покажите содержимое string.inc. Не удивлюсь, если там спрятан какой-нибудь бэкдор на админку или привязка сервера к IP на хостинге.

Вот держите!

// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}

public OnFilterScriptExit()
{
return 1;
}

#else

main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}

public OnGameModeExit()
{
return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}

public OnPlayerConnect(playerid)
{
return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
return 1;
}

public OnPlayerSpawn(playerid)
{
return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}

public OnVehicleSpawn(vehicleid)
{
return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}

public OnPlayerText(playerid, text[])
{
return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
// Do something here
return 1;
}
return 0;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}

public OnRconCommand(cmd[])
{
return 1;
}

public OnPlayerRequestSpawn(playerid)
{
return 1;
}

public OnObjectMoved(objectid)
{
return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}

public OnPlayerExitedMenu(playerid)
{
return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
return 1;
}

public OnPlayerUpdate(playerid)
{
return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
return 1;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}

Этот инклюд я взял на официальном сайте самп!

HarrWe
10.09.2016, 17:47
Вот держите!

// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}

public OnFilterScriptExit()
{
return 1;
}

#else

main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}

public OnGameModeExit()
{
return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}

public OnPlayerConnect(playerid)
{
return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
return 1;
}

public OnPlayerSpawn(playerid)
{
return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}

public OnVehicleSpawn(vehicleid)
{
return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}

public OnPlayerText(playerid, text[])
{
return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
// Do something here
return 1;
}
return 0;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}

public OnRconCommand(cmd[])
{
return 1;
}

public OnPlayerRequestSpawn(playerid)
{
return 1;
}

public OnObjectMoved(objectid)
{
return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}

public OnPlayerExitedMenu(playerid)
{
return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
return 1;
}

public OnPlayerUpdate(playerid)
{
return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
return 1;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}

Этот инклюд я взял на официальном сайте самп!

Это пустой New pwn..., попробуй без этого инклюда скомилировать.

motya
10.09.2016, 18:05
Это пустой New pwn..., попробуй без этого инклюда скомилировать.

Это я стринг кинул!
Теперь на всё ост ругаеться!

- - - Добавлено - - -


Помогите прошу вас!

DeimoS
10.09.2016, 18:52
1) Тему можно поднимать лишь 1 раз в 24 часа. Советую ознакомиться с общими правилами форума (http://pro-pawn.ru/showthread.php?9968-%D0%9E%D0%B1%D1%89%D0%B8%D0%B5-%D0%BF%D1%80%D0%B0%D0%B2%D0%B8%D0%BB%D0%B0-%D1%84%D0%BE%D1%80%D1%83%D0%BC%D0%B0), пока вас не выпилили с этого форума за нарушение правил. Желаете получить помощь - проявите уважение к тем, у кого её просите.

2) Скачайте вот этот (http://files.sa-mp.com/samp037_svr_R2-1-1_win32.zip) архив (версия сервера: 0.3.7) и вставьте из него папку "Pawno" в свой мод с заменой. После этого откройте свой мод тем "Pawno", что будет в папке, измените список инклюдов на такой:

#include <a_samp>
#include <Dini>
И скомпилируйте мод

Daniel_Cortez
10.09.2016, 21:23
В дополнение к предыдущему оратору, хотелось бы тоже попросить вас: пожалуйста, не просите других в ЛС посмотреть свою тему. Этим вы не добъётесь своего - подобные попытки "тыкать носом" только отбивают желание помогать.

motya
11.09.2016, 00:47
1) Тему можно поднимать лишь 1 раз в 24 часа. Советую ознакомиться с общими правилами форума (http://pro-pawn.ru/showthread.php?9968-%D0%9E%D0%B1%D1%89%D0%B8%D0%B5-%D0%BF%D1%80%D0%B0%D0%B2%D0%B8%D0%BB%D0%B0-%D1%84%D0%BE%D1%80%D1%83%D0%BC%D0%B0), пока вас не выпилили с этого форума за нарушение правил. Желаете получить помощь - проявите уважение к тем, у кого её просите.

2) Скачайте вот этот (http://files.sa-mp.com/samp037_svr_R2-1-1_win32.zip) архив (версия сервера: 0.3.7) и вставьте из него папку "Pawno" в свой мод с заменой. После этого откройте свой мод тем "Pawno", что будет в папке, измените список инклюдов на такой:

#include <a_samp>
#include <Dini>
И скомпилируйте мод

Теперь вот это:

C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(0) : error 075: input line too long (after substitutions)
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\time.inc(26) : error 017: undefined symbol "print"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\time.inc(26) : warning 215: expression has no effect
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\time.inc(26) : error 001: expected token: ";", but found ")"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\time.inc(26) : error 029: invalid expression, assumed zero
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\time.inc(26) : fatal error 107: too many error messages on one line

DeimoS
11.09.2016, 01:41
Теперь вот это:

C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(0) : error 075: input line too long (after substitutions)
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\time.inc(26) : error 017: undefined symbol "print"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\time.inc(26) : warning 215: expression has no effect
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\time.inc(26) : error 001: expected token: ";", but found ")"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\time.inc(26) : error 029: invalid expression, assumed zero
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\time.inc(26) : fatal error 107: too many error messages on one line

В общем, загрузите весь свой скрипт на pastebin и киньте ссылку сюда.

motya
11.09.2016, 02:53
В общем, загрузите весь свой скрипт на pastebin и киньте ссылку сюда.

То есть весь мод?
Если да то вот держи! Ссылка (http://pastebin.com/BzRAQ0rk)

DeimoS
11.09.2016, 04:44
То есть весь мод?
Если да то вот держи! Ссылка (http://pastebin.com/BzRAQ0rk)

Эмм, вы точно сделали всё то, о чём я писал? -_-
http://i.imgur.com/eLY1oD2.png


Например, я не вижу, чтоб вы сделали это (этого хватило, чтоб всё скомпилировалось)


2) Скачайте вот этот (http://files.sa-mp.com/samp037_svr_R2-1-1_win32.zip) архив (версия сервера: 0.3.7) и вставьте из него папку "Pawno" в свой мод с заменой. После этого откройте свой мод тем "Pawno", что будет в папке, измените список инклюдов на такой:

#include <a_samp>
#include <Dini>
И скомпилируйте мод

motya
11.09.2016, 12:05
Эмм, вы точно сделали всё то, о чём я писал? -_-
http://i.imgur.com/eLY1oD2.png


Например, я не вижу, чтоб вы сделали это (этого хватило, чтоб всё скомпилировалось)

C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(32) : error 017: undefined symbol "fexist"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(40) : error 017: undefined symbol "fexist"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(42) : error 017: undefined symbol "fopen"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(42) : warning 213: tag mismatch
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(44) : error 017: undefined symbol "fclose"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(53) : error 017: undefined symbol "strlen"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(54) : error 017: undefined symbol "strlen"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(62) : error 017: undefined symbol "format"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(62) : warning 202: number of arguments does not match definition
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(62) : warning 202: number of arguments does not match definition
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(62) : warning 202: number of arguments does not match definition
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(63) : error 017: undefined symbol "fremove"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(66) : error 017: undefined symbol "fopen"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(66) : warning 213: tag mismatch
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(69) : error 017: undefined symbol "fopen"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(69) : warning 213: tag mismatch
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(72) : error 017: undefined symbol "fclose"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(76) : error 017: undefined symbol "fread"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(80) : error 017: undefined symbol "strcmp"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(83) : error 017: undefined symbol "format"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(83) : warning 202: number of arguments does not match definition
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(83) : warning 202: number of arguments does not match definition
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(83) : warning 202: number of arguments does not match definition
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(83) : warning 202: number of arguments does not match definition
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(88) : error 017: undefined symbol "fwrite"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(89) : error 017: undefined symbol "fwrite"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(93) : error 017: undefined symbol "format"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(93) : warning 202: number of arguments does not match definition
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(93) : warning 202: number of arguments does not match definition
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(93) : warning 202: number of arguments does not match definition
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(93) : warning 202: number of arguments does not match definition
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(94) : error 017: undefined symbol "fwrite"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(95) : error 017: undefined symbol "fwrite"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(98) : error 017: undefined symbol "fclose"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(99) : error 017: undefined symbol "fclose"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(101) : error 017: undefined symbol "format"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(101) : warning 202: number of arguments does not match definition
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(101) : warning 202: number of arguments does not match definition
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(101) : warning 202: number of arguments does not match definition
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(103) : error 017: undefined symbol "fremove"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(111) : error 017: undefined symbol "format"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(109) : warning 203: symbol is never used: "value"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(116) : error 017: undefined symbol "strval"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(190) : error 017: undefined symbol "strlen"

Вот скрин (http://i.imgur.com/WubsUaE.png)как у тебя!

- - - Добавлено - - -


Эмм, вы точно сделали всё то, о чём я писал? -_-
http://i.imgur.com/eLY1oD2.png


Например, я не вижу, чтоб вы сделали это (этого хватило, чтоб всё скомпилировалось)

Кинь pwn то что ты сделал:)

HarrWe
11.09.2016, 12:15
Вот, держи http://rgho.st/8rDrpyw5b
И советую не качать моды и не засерать форум такими вопросами, а самому писать.

motya
11.09.2016, 12:54
Вот, держи http://rgho.st/8rDrpyw5b
И советую не качать моды и не засерать форум такими вопросами, а самому писать.

Это вот когда скачал твоё!

C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(0) : error 075: input line too long (after substitutions)
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\time.inc(26) : error 017: undefined symbol "print"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\time.inc(26) : warning 215: expression has no effect
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\time.inc(26) : error 001: expected token: ";", but found ")"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\time.inc(26) : error 029: invalid expression, assumed zero
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\time.inc(26) : fatal error 107: too many error messages on one line

- - - Добавлено - - -


Ребят вот ссылка (https://yadi.sk/d/bX9e-0JFuyU8n)на мод кто исправит киньте пожалуйста рабочую версию! Прошу вас:(

HarrWe
11.09.2016, 15:08
Я тебе исправил, всё отлично работает, обнови ИНКЛЮДЫ и всё будет за*бись.

motya
11.09.2016, 15:46
Я тебе исправил, всё отлично работает, обнови ИНКЛЮДЫ и всё будет за*бись.

Обновил!!! Те что вы кидали сюда!

HarrWe
11.09.2016, 15:49
Обновил!!! Те что вы кидали сюда!

Ну и как результаты?

motya
11.09.2016, 15:52
Ну и как результаты?

ВОТ ТАКОЙ ВОТ:

C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(0) : error 075: input line too long (after substitutions)
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\time.inc(26) : error 017: undefined symbol "print"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\time.inc(26) : warning 215: expression has no effect
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\time.inc(26) : error 001: expected token: ";", but found ")"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\time.inc(26) : error 029: invalid expression, assumed zero
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\time.inc(26) : fatal error 107: too many error messages on one line

HarrWe
11.09.2016, 16:12
ВОТ ТАКОЙ ВОТ:

C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\string.inc(0) : error 075: input line too long (after substitutions)
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\time.inc(26) : error 017: undefined symbol "print"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\time.inc(26) : warning 215: expression has no effect
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\time.inc(26) : error 001: expected token: ";", but found ")"
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\time.inc(26) : error 029: invalid expression, assumed zero
C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\time.inc(26) : fatal error 107: too many error messages on one line

Значит ты ничего не сделал, я проверял всё ИДЕАЛЬНО!
Вот скачай http://rgho.st/8HBljdPGc http://rgho.st/6ZPNzGq4F

motya
11.09.2016, 16:20
Значит ты ничего не сделал, я проверял всё ИДЕАЛЬНО!
Вот скачай http://rgho.st/8HBljdPGc http://rgho.st/6ZPNzGq4F

Только эти 2 инклюда оставить в папке и моде? Или в папке пусть всё будет а в моде прописаны токо эти 2?

- - - Добавлено - - -


Значит ты ничего не сделал, я проверял всё ИДЕАЛЬНО!
Вот скачай http://rgho.st/8HBljdPGc http://rgho.st/6ZPNzGq4F

Теперь вот эти инклюды у меня в моде записаны, а в папке все остальные:

#include <a_samp>

#include Dini

Но вот ошибка:

C:\Users\Admin\Desktop\League 0.1.4h\pawno\include\Dini.inc(24) : fatal error 100: cannot read from file: "dutils"

HarrWe
11.09.2016, 17:03
Вот все которые нужны http://rgho.st/7kCmhtNLs

motya
11.09.2016, 17:09
Вот все которые нужны http://rgho.st/7kCmhtNLs

О теперь норм!
Только вот теперь на этот Stock ругается:

7409: strtok(const string[], &index)
7410: {
7411: new length = strlen(string);
7412: while ((index < length) && (string[index] <= ' '))
7413: {
7414: index++;
7415: }
7416:
7417: new offset = index;
7418: new result[20];
7419: while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
7420: {
7421: result[index - offset] = string[index];
7422: index++;
7423: }
7424: result[index - offset] = EOS;
7425: return result;
7426:}


C:\Users\Admin\Desktop\League 0.1.4h\gamemodes\League.pwn(7410) : error 021: symbol already defined: "strtok"
C:\Users\Admin\Desktop\League 0.1.4h\gamemodes\League.pwn(7425) : error 047: array sizes do not match, or destination array is too small

HarrWe
11.09.2016, 17:13
Удали его.Это стандартная функция.

motya
11.09.2016, 17:24
Всё спасибо тем кто помогал:)

TheMallard
13.09.2016, 03:25
Удали его.Это стандартная функция.

Враньё, она никогда не была стандартной.