大神救命啊!!!ubuntu下gmsv运行提示下面的错误,主要是读取data中文本文件的错误



  • This Program is compiled at Jun 17 2005 10:02:30 by gcc 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
    SetupFileName: setup.cf
    DebugLevel: 3
    MemoryUnit: 128
    MemoryUnitNum: 1600000
    AccountServerName: gmsv
    AccountServerPort: 9600
    MailServerName: mlsv
    MailServerPort: 9650
    AccountServerRealizesGameServeras: Arzes
    AccountServerLoginPasswd: aho.java
    Wait at Port: 9030
    servernumber : 3
    Reuseaddr: 0
    FileDiscriptorNum: 800
    PetCharNum: 10000
    OtherCharNum: 15000
    DBQueNum: 1000
    AUTHQueNum: 1000
    Object Number: 50000
    Item Number: 60000
    Battle Number: 1000
    Autodungeon Number: 5000
    House Number: 3000
    MapJob Number: 5000
    Topdirectory: .
    Mapdirectory: ./data/map/
    MaterialMapdirectory: ./data/material_map/
    AutoDundeonMapdirectory: store/dungeon/
    HouseMapdirectory: store/house/
    houseroomfile: data/houseroom.txt
    MapTileFile: ./data/map/newmapset.txt
    BattleMapFile: ./data/map/battlemap.txt
    ItemFile: ./data/itemset.txt
    ItemRecipeFile: ./data/itemrecipe.txt
    ItemMaterialFile: ./data/itemmaterial.txt
    TitleNameFile: ./data/titlename.txt
    TitleConfigFile: data/titleconfig.txt
    EncountFile: data/encount.txt
    EnemyBaseFile: data/enemybase.txt
    EnemyFile: data/enemy.txt
    GroupFile: data/group.txt
    MagicFile: data/magic.txt
    Itematomfile: data/itematom.txt
    EffectSettingFile: ./data/effect.txt
    Quizfile: ./data/question.txt
    Jobsfile: ./data/jobs.txt
    Jobs_ancestryfile: ./data/jobsancestry.txt
    Skillfile: ./data/skill.txt
    SkillExpfile: ./data/skillexp.txt
    Skilllvfile: ./data/skilllv.txt
    Techfile: ./data/tech.txt
    LsgenLog: ./
    Storedir: ././store
    Npcfile: data/npc.txt
    Warpfile: data/warp.txt
    Dungeonconffile: data/dungeonconf.txt
    Dungeonnpcfile: store/dungeonnpc.txt
    Dungeonencountfile: store/dungeonencount.txt
    MakeSequenceFile: store/makeseq.txt
    MapJobFile: store/mapjob.txt
    BorderFile: data/border.txt
    ToBossNpcFile: data/tobossnpc.txt
    PetMailImpossibleFile: ./data/petmailimpossible.txt
    PetMailMistakeFile: ./data/petmailmistake.txt
    EnemyAiFile: ./data/enemyai.txt
    EnemyMsgFile: ./data/enemytalk.txt
    ShipFile: ./data/ship.txt
    HarborFile: ./data/harbor.txt
    MorphFile: ./data/morph.txt
    GuiseFile: ./data/guise.txt
    RssFile: ./data/rss.txt
    FishFile: ./data/fish.txt
    Logdir: ./log
    LogConfigFilename: log.cf
    ChatMagicPasswd: nr
    ChatMagicCDKeyCheck: 1
    NPCfilesearchnum 5000
    NPCCreateNum: 10000
    encountmemorynum: 5000
    NetWorkI/OInterval: 200
    WalkSendInterval: 250
    CASendInterval: 500
    CDSendInterval: 500
    Onelooptime: 100
    Petdeletetime: 36000
    Itemdeletetime: 21600
    CharSaveSendInterval: 1800
    AddressBookOffMesgNum: 10000
    ProtocolReadFrequency: 200
    AllowErrorNum: 20
    NoLoginRankDown: 604800
    EndOfGmsvFilename: gmsv.end
    AlbumVersion: 4
    CheckSysLogFile: log/syscheck.log
    extraipaddress: 192.168.1.199
    version_conf : ./version.conf

    Start Log
    log.c:140 log file open error(SKILL: log).
    Start Initialize
    Configuring Memory...done
    Attempt to bind local address port 9030... done
    Configuring Function Table...done
    initilize database...connecting database server...127.0.0.1
    root

    done
    select database...done
    connecting database server...127.0.0.1
    root

    done
    select database...done
    connecting database server...127.0.0.1
    root

    done
    select database...done
    initilize auth...done
    Configuring Object...done
    Configuring character...done
    Configuring item...item/item.c:1627 Syntax Error file:./data/itemset.txt line:5482
    item/item.c:1627 Syntax Error file:./data/itemset.txt line:5483
    item/item.c:1627 Syntax Error file:./data/itemset.txt line:5484
    item/item.c:1627 Syntax Error file:./data/itemset.txt line:5485
    item/item.c:1627 Syntax Error file:./data/itemset.txt line:5771
    item/item.c:1627 Syntax Error file:./data/itemset.txt line:5910
    item/item.c:1627 Syntax Error file:./data/itemset.txt line:5945
    ITEM maxid is 6611019Syntax Error tki:1 (secretname) file:./data/itemset.txt line:5482[]
    Syntax Error tki:1 (secretname) file:./data/itemset.txt line:5483[]
    Syntax Error tki:1 (secretname) file:./data/itemset.txt line:5484[]
    Syntax Error tki:1 (secretname) file:./data/itemset.txt line:5485[]
    item/item.c:1786 Duplicate Itemid 19577.ignore
    item/item.c:1786 Duplicate Itemid 19578.ignore
    Syntax Error tki:1 (secretname) file:./data/itemset.txt line:5771[]
    item/item.c:1786 Duplicate Itemid 180003.ignore
    Syntax Error tki:1 (secretname) file:./data/itemset.txt line:5910[]
    Syntax Error tki:1 (secretname) file:./data/itemset.txt line:5945[]
    item/item.c:1786 Duplicate Itemid 910001.ignore
    item/item.c:1786 Duplicate Itemid 910002.ignore
    item/item.c:1786 Duplicate Itemid 910003.ignore
    item/item.c:1786 Duplicate Itemid 910004.ignore
    done
    Configuring itemauto...Valid ITEMAUTO Num is 10
    done
    AddressBook Hash Init...done
    Configuring boltac shop...done
    Configuring Message...readsize = 1847232
    messages.c:165 Syntax Error file:data/msg.txt line:23374
    messages.c:165 Syntax Error file:data/msg.txt line:23465
    Valid messages Num is 23785
    done
    Configuring BadMessage...Valid messages Num is 2
    done
    Configuring battle...done
    Initializing addressbook...done
    Reading TitleName File...char/title.c:422 Syntax Error file:./data/titlename.txt line:566
    char/title.c:422 Syntax Error file:./data/titlename.txt line:601
    Valid Title Num is 604
    done
    Reading TitleConfig File...char/title.c:695 Invalid Param Name file:data/titleconfig.txt part:512
    char/title.c:758 No Title Error file:data/titleconfig.txt part:512
    char/title.c:695 Invalid Param Name file:data/titleconfig.txt part:546
    char/title.c:758 No Title Error file:data/titleconfig.txt part:546
    Valid Title Num is 556
    done
    Reading EnemyBase File...char/enemy.c:386 Syntax Error file:data/enemybase.txt line:961
    char/enemy.c:386 Syntax Error file:data/enemybase.txt line:1155
    Valid enenytemp Num is 1203
    done
    Reading Enemy File...char/enemy.c:630 no such template file:data/enemy.txt line:2473
    char/enemy.c:630 no such template file:data/enemy.txt line:2483
    char/enemy.c:630 no such template file:data/enemy.txt line:2484
    char/enemy.c:630 no such template file:data/enemy.txt line:2666
    char/enemy.c:630 no such template file:data/enemy.txt line:2750
    char/enemy.c:630 no such template file:data/enemy.txt line:2751
    Valid eneny Num is 2737
    done
    Reading Group File...char/enemy.c:894 error :�׷� ������ ���� �����Ǿ� ���� �ʽ��ϴ� file:data/group.txt line:1409
    char/enemy.c:894 error :�׷� ������ ���� �����Ǿ� ���� �ʽ��ϴ� file:data/group.txt line:1425
    char/enemy.c:894 error :�׷� ������ ���� �����Ǿ� ���� �ʽ��ϴ� file:data/group.txt line:1426
    Valid group Num is 1570
    done
    Reading Jobs File...skill/jobs.c:220 Syntax Error file:./data/jobs.txt line:166
    Valid jobs Num is 325
    done
    Reading Skill File...skill/skill.c:286 �������� �׸��� �������� �ʾҽ��ϴ�.file:./data/skill.txt line:176
    Valid skill Num is 178
    done
    Reading Rebirth File...done
    Reading Battle Rebirth File...skill/skill.c:639 Battle Rebirth Data Error!
    done
    Reading Pet Ride File...done
    Getting SkillPopulation ...STACK RET=0 0/-1
    guildMonsterDataBackupedToDataBase

    breedingRoom DB Save
    ...done
    guildItemBox DB Save
    ...done
    waiting end of all threads... done
    Received signal : 11

    DebugPoint (0)

    LastFunc (ITEM_DeleteTimeWatched)

    我用的是ubuntu 13.04, 难道只能用red hat 9 么???

    大哥大姐们,救救我吧,都弄了快一个星期了,我都快崩溃了!!!

    大神们,求求你们了!!!



  • :)好好检查下那些报错


  • 管理员

    推荐您下载ga试试,ga是在更新的环境下编译的http://cgdev.me/thread-554-1-1.html


    • 想着从别人那获取什么之前,请先自己做出点什么贡献。

    • 技术不是可以衣来伸手饭来张口的。

    • 在你开口问别人为什么之前,请先自己问问搜索引擎。

    • 自由和分享是需要建立在你自身的基础之上的。

    0


  • 回复 Free 的帖子

    大神,我用了一下ga,真的可以启动唉,可是为什么我第二次启动就不能启动了呢?????试了好久,还有个问题是ga调试信息乱码,和windos修改环境变量的方法一样么?大神啊,再帮帮我吧!!!!求求你了!!!!!


  • 管理员

    如果你需要帮助,请至少上传日志等信息,这样才可能帮到你,否则只是说"启动不起来"什么的完全没办法。
    中文的话你需要设置linux的终端编码为gbk,如果操作请google "ubuntu 终端 中文乱码"等


    • 想着从别人那获取什么之前,请先自己做出点什么贡献。

    • 技术不是可以衣来伸手饭来张口的。

    • 在你开口问别人为什么之前,请先自己问问搜索引擎。

    • 自由和分享是需要建立在你自身的基础之上的。

    0


  • 回复 Free 的帖子

    Screenshot from 2013-05-19 14:38:53.png

    这个是启动好了的画面么?
    如果是的话那就太好了!!!!!!

    大哥,你要是在郑州,我请你吃饭,一定请!!!!!
    太谢谢你了!!!



  • 回复 Free 的帖子

    我现在都不敢关程序,大哥怎么样停止服务器啊? 是直接ctl + c 么?我怕又启动不起来了。。。。。。


  • 管理员

    是启动完成的样子,关闭就是ctrl+c


    • 想着从别人那获取什么之前,请先自己做出点什么贡献。

    • 技术不是可以衣来伸手饭来张口的。

    • 在你开口问别人为什么之前,请先自己问问搜索引擎。

    • 自由和分享是需要建立在你自身的基础之上的。

    0


  • 回复 Free 的帖子

    太谢谢大哥了,那怎么查看在线用户人数呢?
    如果大哥方便的话能把您的qq给我么,太崇拜您了,收我当小弟吧。。。


  • 管理员

    回复 huoyun137 的帖子

    gm命令
    [gmpwd sysinfo]
    or
    mysql -> select count(*) from tbl_lock;



  • 回复 baidu1 的帖子

    因为gmsv一直在运行,那我应该在哪里输入gm命令呢,再开一个终端么?



  • gm命令是在游戏里面打的。


登录后回复