设为首页收藏本站新闻投稿

MOD中国同盟社

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 595|回复: 6

[求助] 编译插件的问题……………… [复制链接]

Rank: 2

帖子
90
精华
0
声望
324 点
金币
50 Mold
被赞许
0 次
注册时间
2010-7-25
发表于 2011-9-2 16:04:32 |显示全部楼层
本帖最后由 哥很NB的 于 2011-9-2 16:13 编辑

= =呃,我从网上下载的插件………http://forums.alliedmods.net/showthread.php?t=78548&highlight=paint+ball
用ANSI格式就乱码、用UTF-8格式就什么Error。第一行就Error了………第一行是什么?
#include <amxmodx>
//AMXXPC compile.exe
// by the AMX Mod X Dev Team

//// paintballgun.sma
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\paintballgun.sma(1) : error 010: invalid function or declaration
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\include\fakemeta.inc(15) : error 017: undefinedsymbol "AMXX_VERSION_NUM"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\include\fakemeta.inc(247) : error 070: rational number support was not enabled
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\include\hamsandwich.inc(47) : error 017: undefinedsymbol "AMXX_VERSION_NUM"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\include\hamsandwich.inc(361) : error 017: undefined symbol "get_func_id"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\include\hamsandwich.inc(364) : error 017: undefined symbol "callfunc_begin_i"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\include\hamsandwich.inc(366) : error 017: undefined symbol "callfunc_push_int"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\include\hamsandwich.inc(367) : error 017: undefined symbol "callfunc_push_int"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\include\hamsandwich.inc(368) : error 017: undefined symbol "callfunc_push_str"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\include\hamsandwich.inc(369) : error 017: undefined symbol "callfunc_end"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\include\hamsandwich.inc(376) : error 017: undefined symbol "set_fail_state"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\include\cstrike.inc(13) : error 017: undefined symbol "AMXX_VERSION_NUM"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\include\fun.inc(13) : error 017: undefined symbol "AMXX_VERSION_NUM"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\include\fun.inc(45) : error 017: undefined symbol "kRenderFxNone"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\include\fun.inc(68) : error 070: rational number support was not enabled
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\include\fun.inc(74) : error 070: rational number support was not enabled
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\paintballgun.sma(39) : error 017: undefined symbol "register_plugin"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\paintballgun.sma(40) : error 017: undefined symbol "register_cvar"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\paintballgun.sma(40) : error 017: undefined symbol "FCVAR_UNLOGGED"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\paintballgun.sma(40) : error 088: number of arguments does not match definition
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\paintballgun.sma(40) : fatal error 107: too many error messages on one line
//
// Compilation aborted.
// 21 Errors.
// Could not locate output file C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\compiled\paintballgun.amx (compile failed).
//
// Compilation Time: 0.86 sec
// ----------------------------------------
//// paintballmod.sma
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\paintballmod.sma(1) : error 010: invalid function or declaration
//
// 1 Error.
// Could not locate output file C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\compiled\paintballmod.amx (compile failed).
//
// Compilation Time: 1.23 sec
// ----------------------------------------
//// paintballmoves.sma
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\paintballmoves.sma(1) : error 010: invalid function or declaration
//
// 1 Error.
// Could not locate output file C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\compiled\paintballmoves.amx (compile failed).
//
// Compilation Time: 1.89 sec
// ----------------------------------------
//// paintballnade.sma
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\paintballnade.sma(1) : error 010: invalid function or declaration
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\include\fakemeta.inc(15) : error 017: undefined symbol "AMXX_VERSION_NUM"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\include\fakemeta.inc(247) : error 070: rational number support was not enabled
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\include\hamsandwich.inc(47) : error 017: undefined symbol "AMXX_VERSION_NUM"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\include\hamsandwich.inc(361) : error 017: undefined symbol "get_func_id"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\include\hamsandwich.inc(364) : error 017: undefined symbol "callfunc_begin_i"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\include\hamsandwich.inc(366) : error 017: undefined symbol "callfunc_push_int"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\include\hamsandwich.inc(367) : error 017: undefined symbol "callfunc_push_int"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\include\hamsandwich.inc(368) : error 017: undefined symbol "callfunc_push_str"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\include\hamsandwich.inc(369) : error 017: undefined symbol "callfunc_end"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\include\hamsandwich.inc(376) : error 017: undefined symbol "set_fail_state"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\paintballnade.sma(13) : error 017: undefined symbol "register_plugin"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\paintballnade.sma(15) : error 017: undefined symbol "set_cvar_string"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\paintballnade.sma(17) : error 017: undefined symbol "get_pcvar_num"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\paintballnade.sma(19) : error 017: undefined symbol "register_event"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\paintballnade.sma(23) : error 017: undefined symbol "register_cvar"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\paintballnade.sma(25) : error 017: undefined symbol "get_maxplayers"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\paintballnade.sma(31) : error 017: undefined symbol "register_cvar"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\paintballnade.sma(32) : error 017: undefined symbol "register_cvar"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\paintballnade.sma(33) : error 017: undefined symbol "register_cvar"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\paintballnade.sma(33) : error 017: undefined symbol "FCVAR_UNLOGGED"
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\paintballnade.sma(33) : error 088: number of arguments does not match definition
// C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\paintballnade.sma(33) : fatal error 107: too many error messages on oneline
//
// Compilation aborted.
// 23 Errors.
// Could not locate output file C:\Documents and Settings\Administrat\桌面\CS\插件\AMXX_Studio_1.4.3_final\scripting\compiled\paintballnade.amx (compile failed)
.
//
// Compilation Time: 0.69 sec
// ----------------------------------------
Press enter to exit ...

哇啊啊啊啊……我要疯啦……
求解决办法……


附件: 你需要登录才可以下载或查看附件。没有帐号?注册
经过考试的摧残之后,我居然…居然变成了LOLI控!纳尼?!难道…难道我只能成为一个LOLI控的猥琐怪蜀黍了么?!OH!难道介过系报应么……!天啊,地啊!早知道我就不做哪些丧尽天良、调戏小萝莉的事了……

使用道具 举报

Rank: 2

帖子
90
精华
0
声望
324 点
金币
50 Mold
被赞许
0 次
注册时间
2010-7-25
发表于 2011-9-2 16:15:11 |显示全部楼层
要不帮我翻译下吧………………是不是我的编译器有问题………………?
经过考试的摧残之后,我居然…居然变成了LOLI控!纳尼?!难道…难道我只能成为一个LOLI控的猥琐怪蜀黍了么?!OH!难道介过系报应么……!天啊,地啊!早知道我就不做哪些丧尽天良、调戏小萝莉的事了……

使用道具 举报

Rank: 10Rank: 10Rank: 10

帖子
1250
精华
0
声望
3577 点
金币
470 Mold
被赞许
45 次
注册时间
2010-7-13

可爱小猫

发表于 2011-9-2 17:58:45 |显示全部楼层
你怎么打开的?用笔记本不就ok了。再不行就用UE,继续不行就用那啥。
如果是无法编辑,你应该把那个cmd窗口截图下来

使用道具 举报

Rank: 5Rank: 5

帖子
361
精华
0
声望
1021 点
金币
493 Mold
被赞许
35 次
注册时间
2011-7-4
发表于 2011-9-2 18:02:50 |显示全部楼层
在这里了
你未编译成功的两个
代码大概看了下,貌似是alliedmodders某大神的杰作  一个类似soccer的mod
附件: 你需要登录才可以下载或查看附件。没有帐号?注册

使用道具 举报

Rank: 15Rank: 15Rank: 15Rank: 15Rank: 15

帖子
406
精华
0
声望
9411 点
金币
1421 Mold
被赞许
4 次
注册时间
2009-12-18
发表于 2011-9-2 18:59:46 |显示全部楼层
簡單說用Notepad儲存的UTF-8會有BOM…
編譯時若是有BOM就會出現第一行那錯誤…
建議LZ找個專業的文字編輯程式弄SMA吧…

使用道具 举报

Rank: 2

帖子
90
精华
0
声望
324 点
金币
50 Mold
被赞许
0 次
注册时间
2010-7-25
发表于 2011-9-2 19:37:43 |显示全部楼层
本帖最后由 哥很NB的 于 2011-9-2 19:38 编辑

简单说什么的………………
什么叫專業的文字編輯程式
什么程序算得上是专业的………………
经过考试的摧残之后,我居然…居然变成了LOLI控!纳尼?!难道…难道我只能成为一个LOLI控的猥琐怪蜀黍了么?!OH!难道介过系报应么……!天啊,地啊!早知道我就不做哪些丧尽天良、调戏小萝莉的事了……

使用道具 举报

Rank: 2

帖子
90
精华
0
声望
324 点
金币
50 Mold
被赞许
0 次
注册时间
2010-7-25
发表于 2011-9-2 20:26:17 |显示全部楼层
本帖最后由 哥很NB的 于 2011-9-2 20:34 编辑

多谢各位大大………我现在把插件汉化了………虽然有很多错漏………
我现在在汉化另外一个插件………= =呃………基地建设啊………
我有一个问题………………他的模型什么的都很大………………
能不能用CS原有模型以及声音的替换?
经过考试的摧残之后,我居然…居然变成了LOLI控!纳尼?!难道…难道我只能成为一个LOLI控的猥琐怪蜀黍了么?!OH!难道介过系报应么……!天啊,地啊!早知道我就不做哪些丧尽天良、调戏小萝莉的事了……

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

回顶部