Code: Show/Hide [fm_shiplimits]
; ShipN (1-8) = only|exclude,<freq (-1 no one)>,<max allowed (0 unlimited)> ; Example 1 ; Freq 0 can use 1-4 ; Freq 1 can use 5-8 ; Ships 4 and 8 are capital ships, only 1 player can have it at a time Ship1 = only,0,0 Ship2 = only,0,0 Ship3 = only,0,0 Ship4 = only,0,1 Ship5 = only,1,0 Ship6 = only,1,0 Ship7 = only,1,0 Ship8 = only,1,1 ; Example 2 ; Freq 0 can use Warbird and Jav ; Freq 1 can use Terr and Weasel ; All other ships can't be used (so other modules can *setship a nightwasp or something) Ship1 = only,0,0 Ship2 = only,0,0 Ship3 = only,-1,0 Ship4 = only,-1,0 Ship5 = only,1,0 Ship6 = only,1,0 Ship7 = only,-1,0 Ship8 = only,-1,0 ; whether or not players are notified when they try to change to an illegal ship NotifyIllegal = 1 ; spec lock vie clients VIEMessage = This arena is Continuum-only. Please get Continuum client from http://www.subspace.net to play here LockSpecVIE = 0 |
Code: Show/Hide Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\Makefile.win" Executing make... make.exe -f "C:\Dev-Cpp\Makefile.win" all dllwrap.exe --output-def ../ssdev/libhscore.def --implib ../ssdev/libhscore.a ../ssdev/hscore/hscore_teamnames.o ../ssdev/hscore/hscore_commands.o ../ssdev/hscore/hscore_database.o ../ssdev/hscore/hscore_freqman.o ../ssdev/hscore/hscore_items.o ../ssdev/hscore/hscore_itemsstub.o ../ssdev/hscore/hscore_money.o ../ssdev/hscore/hscore_moneystub.o ../ssdev/hscore/hscore_mysql.o ../ssdev/hscore/hscore_prizer.o ../ssdev/hscore/hscore_rewards.o ../ssdev/hscore/hscore_storeman.o ../ssdev/hscore/hscore_buysell.o ../ssdev/hscore/hscore_spawner.o -L"C:/Dev-Cpp/lib" --no-export-all-symbols --add-stdcall-alias ../ssdev/asss-1.4.3/windeps/pthreadGC2.dll -o ../ssdev/hscore.dll ../ssdev/hscore/hscore_teamnames.o(.text+0x18f):hscore_teamnames.c: undefined reference to `LLRemove' ../ssdev/hscore/hscore_teamnames.o(.text+0x1ae):hscore_teamnames.c: undefined reference to `afree' ../ssdev/hscore/hscore_teamnames.o(.text+0x37a):hscore_teamnames.c: undefined reference to `delimcpy' ../ssdev/hscore/hscore_teamnames.o(.text+0x58c):hscore_teamnames.c: undefined reference to `amalloc' ../ssdev/hscore/hscore_teamnames.o(.text+0x5a9):hscore_teamnames.c: undefined reference to `astrncpy' ../ssdev/hscore/hscore_teamnames.o(.text+0x5c6):hscore_teamnames.c: undefined reference to `astrncpy' ../ssdev/hscore/hscore_teamnames.o(.text+0x602):hscore_teamnames.c: undefined reference to `astrncpy' ../ssdev/hscore/hscore_teamnames.o(.text+0x64c):hscore_teamnames.c: undefined reference to `LLAdd' ../ssdev/hscore/hscore_teamnames.o(.text+0xab5):hscore_teamnames.c: undefined reference to `astrncpy' ../ssdev/hscore/hscore_teamnames.o(.text+0x133e):hscore_teamnames.c: undefined reference to `current_ticks' ../ssdev/hscore/hscore_teamnames.o(.text+0x1375):hscore_teamnames.c: undefined reference to `current_ticks' ../ssdev/hscore/hscore_teamnames.o(.text+0x13ce):hscore_teamnames.c: undefined reference to `current_ticks' ../ssdev/hscore/hscore_teamnames.o(.text+0x1be5):hscore_teamnames.c: undefined reference to `LLInit' ../ssdev/hscore/hscore_teamnames.o(.text+0x1d77):hscore_teamnames.c: undefined reference to `afree' ../ssdev/hscore/hscore_teamnames.o(.text+0x1d7f):hscore_teamnames.c: undefined reference to `LLEnum' ../ssdev/hscore/hscore_teamnames.o(.text+0x1d92):hscore_teamnames.c: undefined reference to `LLEmpty' ../ssdev/hscore/hscore_commands.o(.text+0x53d):hscore_commands.c: undefined reference to `HashEnum' ../ssdev/hscore/hscore_database.o(.text+0x494):hscore_database.c: undefined reference to `afree' ../ssdev/hscore/hscore_database.o(.text+0x4a4):hscore_database.c: undefined reference to `LLEnum' ../ssdev/hscore/hscore_database.o(.text+0x4b4):hscore_database.c: undefined reference to `LLEmpty' ../ssdev/hscore/hscore_database.o(.text+0x52a):hscore_database.c: undefined reference to `hash_enum_afree' ../ssdev/hscore/hscore_database.o(.text+0x53f):hscore_database.c: undefined reference to `HashEnum' ../ssdev/hscore/hscore_database.o(.text+0x564):hscore_database.c: undefined reference to `HashEnum' ../ssdev/hscore/hscore_database.o(.text+0x5e8):hscore_database.c: undefined reference to `amalloc' ../ssdev/hscore/hscore_database.o(.text+0x61b):hscore_database.c: undefined reference to `astrncpy' ../ssdev/hscore/hscore_database.o(.text+0x632):hscore_database.c: undefined reference to `LLAdd' ../ssdev/hscore/hscore_database.o(.text+0x787):hscore_database.c: undefined reference to `afree' ../ssdev/hscore/hscore_database.o(.text+0x797):hscore_database.c: undefined reference to `LLEnum' ../ssdev/hscore/hscore_database.o(.text+0x7a7):hscore_database.c: undefined reference to `LLEmpty' ../ssdev/hscore/hscore_database.o(.text+0x824):hscore_database.c: undefined reference to `amalloc' ../ssdev/hscore/hscore_database.o(.text+0x857):hscore_database.c: undefined reference to `astrncpy' ../ssdev/hscore/hscore_database.o(.text+0x86e):hscore_database.c: undefined reference to `LLAdd' ../ssdev/hscore/hscore_database.o(.text+0x8ef):hscore_database.c: undefined reference to `astrncpy' ../ssdev/hscore/hscore_database.o(.text+0xa3f):hscore_database.c: undefined reference to `amalloc' ../ssdev/hscore/hscore_database.o(.text+0xa52):hscore_database.c: undefined reference to `LLInit' ../ssdev/hscore/hscore_database.o(.text+0xa62):hscore_database.c: undefined reference to `LLInit' ../ssdev/hscore/hscore_database.o(.text+0xa81):hscore_database.c: undefined reference to `LLAdd' ../ssdev/hscore/hscore_database.o(.text+0xab1):hscore_database.c: undefined reference to `astrncpy' ../ssdev/hscore/hscore_database.o(.text+0xae4):hscore_database.c: undefined reference to `astrncpy' ../ssdev/hscore/hscore_database.o(.text+0xb17):hscore_database.c: undefined reference to `astrncpy' ../ssdev/hscore/hscore_database.o(.text+0xe80):hscore_database.c: undefined reference to `amalloc' ../ssdev/hscore/hscore_database.o(.text+0xe9f):hscore_database.c: undefined reference to `LLAdd' ../ssdev/hscore/hscore_database.o(.text+0xecf):hscore_database.c: undefined reference to `astrncpy' ../ssdev/hscore/hscore_database.o(.text+0x151b):hscore_database.c: undefined reference to `amalloc' ../ssdev/hscore/hscore_database.o(.text+0x154f):hscore_database.c: undefined reference to `LLAdd' ../ssdev/hscore/hscore_database.o(.text+0x1787):hscore_database.c: undefined reference to `amalloc' ../ssdev/hscore/hscore_database.o(.text+0x1795):hscore_database.c: undefined reference to `LLInit' ../ssdev/hscore/hscore_database.o(.text+0x179d):hscore_database.c: undefined reference to `HashAlloc' ../ssdev/hscore/hscore_database.o(.text+0x19b9):hscore_database.c: undefined reference to `LLAdd' ../ssdev/hscore/hscore_database.o(.text+0x1b08):hscore_database.c: undefined reference to `amalloc' ../ssdev/hscore/hscore_database.o(.text+0x1b1b):hscore_database.c: undefined reference to `LLInit' ../ssdev/hscore/hscore_database.o(.text+0x1b50):hscore_database.c: undefined reference to `LLAdd' ../ssdev/hscore/hscore_database.o(.text+0x1b62):hscore_database.c: undefined reference to `LLEmpty' ../ssdev/hscore/hscore_database.o(.text+0x1b92):hscore_database.c: undefined reference to `astrncpy' ../ssdev/hscore/hscore_database.o(.text+0x1bc5):hscore_database.c: undefined reference to `astrncpy' ../ssdev/hscore/hscore_database.o(.text+0x1bfa):hscore_database.c: undefined reference to `astrncpy' ../ssdev/hscore/hscore_database.o(.text+0x1dac):hscore_database.c: undefined reference to `LLAdd' ../ssdev/hscore/hscore_database.o(.text+0x1efc):hscore_database.c: undefined reference to `amalloc' ../ssdev/hscore/hscore_database.o(.text+0x1f0d):hscore_database.c: undefined reference to `LLInit' ../ssdev/hscore/hscore_database.o(.text+0x1f42):hscore_database.c: undefined reference to `LLAdd' ../ssdev/hscore/hscore_database.o(.text+0x1f52):hscore_database.c: undefined reference to `LLEmpty' ../ssdev/hscore/hscore_database.o(.text+0x1f82):hscore_database.c: undefined reference to `astrncpy' ../ssdev/hscore/hscore_database.o(.text+0x1fb5):hscore_database.c: undefined reference to `astrncpy' ../ssdev/hscore/hscore_database.o(.text+0x2095):hscore_database.c: undefined reference to `LLInit' ../ssdev/hscore/hscore_database.o(.text+0x20a0):hscore_database.c: undefined reference to `LLInit' ../ssdev/hscore/hscore_database.o(.text+0x20f9):hscore_database.c: undefined reference to `afree' ../ssdev/hscore/hscore_database.o(.text+0x2104):hscore_database.c: undefined reference to `LLEnum' ../ssdev/hscore/hscore_database.o(.text+0x210f):hscore_database.c: undefined reference to `LLEmpty' ../ssdev/hscore/hscore_database.o(.text+0x211f):hscore_database.c: undefined reference to `hash_enum_afree' ../ssdev/hscore/hscore_database.o(.text+0x212d):hscore_database.c: undefined reference to `HashEnum' ../ssdev/hscore/hscore_database.o(.text+0x213b):hscore_database.c: undefined reference to `HashFree' ../ssdev/hscore/hscore_database.o(.text+0x2146):hscore_database.c: undefined reference to `afree' ../ssdev/hscore/hscore_database.o(.text+0x21fc):hscore_database.c: undefined reference to `afree' ../ssdev/hscore/hscore_database.o(.text+0x220a):hscore_database.c: undefined reference to `LLEnum' ../ssdev/hscore/hscore_database.o(.text+0x2218):hscore_database.c: undefined reference to `LLCount' ../ssdev/hscore/hscore_database.o(.text+0x2253):hscore_database.c: undefined reference to `LLEmpty' ../ssdev/hscore/hscore_database.o(.text+0x227b):hscore_database.c: undefined reference to `afree' ../ssdev/hscore/hscore_database.o(.text+0x2286):hscore_database.c: undefined reference to `LLEnum' ../ssdev/hscore/hscore_database.o(.text+0x2291):hscore_database.c: undefined reference to `LLCount' ../ssdev/hscore/hscore_database.o(.text+0x22c9):hscore_database.c: undefined reference to `LLEmpty' ../ssdev/hscore/hscore_database.o(.text+0x22e4):hscore_database.c: undefined reference to `afree' ../ssdev/hscore/hscore_database.o(.text+0x22f4):hscore_database.c: undefined reference to `LLEnum' ../ssdev/hscore/hscore_database.o(.text+0x2304):hscore_database.c: undefined reference to `LLEmpty' ../ssdev/hscore/hscore_database.o(.text+0x230c):hscore_database.c: undefined reference to `afree' ../ssdev/hscore/hscore_database.o(.text+0x231c):hscore_database.c: undefined reference to `LLEnum' ../ssdev/hscore/hscore_database.o(.text+0x232c):hscore_database.c: undefined reference to `LLEmpty' ../ssdev/hscore/hscore_database.o(.text+0x2337):hscore_database.c: undefined reference to `afree' ../ssdev/hscore/hscore_database.o(.text+0x2358):hscore_database.c: undefined reference to `LLEnum' ../ssdev/hscore/hscore_database.o(.text+0x2364):hscore_database.c: undefined reference to `LLCount' ../ssdev/hscore/hscore_database.o(.text+0x238e):hscore_database.c: undefined reference to `LLEmpty' ../ssdev/hscore/hscore_database.o(.text+0x23a8):hscore_database.c: undefined reference to `afree' ../ssdev/hscore/hscore_database.o(.text+0x23b4):hscore_database.c: undefined reference to `LLEnum' ../ssdev/hscore/hscore_database.o(.text+0x23c0):hscore_database.c: undefined reference to `LLCount' ../ssdev/hscore/hscore_database.o(.text+0x23ea):hscore_database.c: undefined reference to `LLEmpty' ../ssdev/hscore/hscore_database.o(.text+0x3181):hscore_database.c: undefined reference to `LLRemove' ../ssdev/hscore/hscore_database.o(.text+0x318c):hscore_database.c: undefined reference to `afree' ../ssdev/hscore/hscore_database.o(.text+0x32cb):hscore_database.c: undefined reference to `amalloc' ../ssdev/hscore/hscore_database.o(.text+0x32fa):hscore_database.c: undefined reference to `LLAdd' ../ssdev/hscore/hscore_database.o(.text+0x36f2):hscore_database.c: undefined reference to `LLRemove' ../ssdev/hscore/hscore_database.o(.text+0x36fd):hscore_database.c: undefined reference to `afree' ../ssdev/hscore/hscore_database.o(.text+0x385b):hscore_database.c: undefined reference to `amalloc' ../ssdev/hscore/hscore_database.o(.text+0x3869):hscore_database.c: undefined reference to `LLInit' ../ssdev/hscore/hscore_database.o(.text+0x3871):hscore_database.c: undefined reference to `HashAlloc' ../ssdev/hscore/hscore_database.o(.text+0x3cc0):hscore_database.c: undefined reference to `LLInit' ../ssdev/hscore/hscore_database.o(.text+0x3ccc):hscore_database.c: undefined reference to `LLInit' ../ssdev/hscore/hscore_items.o(.text+0x254):hscore_items.c: undefined reference to `strsplit' ../ssdev/hscore/hscore_items.o(.text+0xd87):hscore_items.c: undefined reference to `LLCount' ../ssdev/hscore/hscore_items.o(.text+0xd95):hscore_items.c: undefined reference to `LLEmpty' ../ssdev/hscore/hscore_items.o(.text+0x181c):hscore_items.c: undefined reference to `HashGetOne' ../ssdev/hscore/hscore_items.o(.text+0x1a8c):hscore_items.c: undefined reference to `HashGetOne' ../ssdev/hscore/hscore_items.o(.text+0x1b87):hscore_items.c: undefined reference to `amalloc' ../ssdev/hscore/hscore_items.o(.text+0x1bb5):hscore_items.c: undefined reference to `HashAdd' ../ssdev/hscore/hscore_items.o(.text+0x246d):hscore_items.c: undefined reference to `HashEnum' ../ssdev/hscore/hscore_items.o(.text+0x2518):hscore_items.c: undefined reference to `HashGetOne' ../ssdev/hscore/hscore_items.o(.text+0x253c):hscore_items.c: undefined reference to `amalloc' ../ssdev/hscore/hscore_items.o(.text+0x256a):hscore_items.c: undefined reference to `HashAdd' ../ssdev/hscore/hscore_money.o(.text+0x573):hscore_money.c: undefined reference to `LLCount' ../ssdev/hscore/hscore_money.o(.text+0x581):hscore_money.c: undefined reference to `LLEmpty' ../ssdev/hscore/hscore_money.o(.text+0x91c):hscore_money.c: undefined reference to `LLCount' ../ssdev/hscore/hscore_money.o(.text+0x92a):hscore_money.c: undefined reference to `LLEmpty' ../ssdev/hscore/hscore_money.o(.text+0xcf1):hscore_money.c: undefined reference to `LLCount' ../ssdev/hscore/hscore_money.o(.text+0xcff):hscore_money.c: undefined reference to `LLEmpty' ../ssdev/hscore/hscore_money.o(.text+0x10b6):hscore_money.c: undefined reference to `LLCount' ../ssdev/hscore/hscore_money.o(.text+0x10c4):hscore_money.c: undefined reference to `LLEmpty' ../ssdev/hscore/hscore_mysql.o(.text+0x4f):hscore_mysql.c: undefined reference to `mysql_real_query@12' ../ssdev/hscore/hscore_mysql.o(.text+0x75):hscore_mysql.c: undefined reference to `mysql_error@4' ../ssdev/hscore/hscore_mysql.o(.text+0xc1):hscore_mysql.c: undefined reference to `mysql_errno@4' ../ssdev/hscore/hscore_mysql.o(.text+0xf5):hscore_mysql.c: undefined reference to `mysql_field_count@4' ../ssdev/hscore/hscore_mysql.o(.text+0x13c):hscore_mysql.c: undefined reference to `mysql_store_result@4' ../ssdev/hscore/hscore_mysql.o(.text+0x15e):hscore_mysql.c: undefined reference to `mysql_error@4' ../ssdev/hscore/hscore_mysql.o(.text+0x1a2):hscore_mysql.c: undefined reference to `mysql_errno@4' ../ssdev/hscore/hscore_mysql.o(.text+0x200):hscore_mysql.c: undefined reference to `mysql_free_result@4' ../ssdev/hscore/hscore_mysql.o(.text+0x220):hscore_mysql.c: undefined reference to `mysql_close@4' ../ssdev/hscore/hscore_mysql.o(.text+0x237):hscore_mysql.c: undefined reference to `mysql_init@4' ../ssdev/hscore/hscore_mysql.o(.text+0x25e):hscore_mysql.c: undefined reference to `mysql_error@4' ../ssdev/hscore/hscore_mysql.o(.text+0x33a):hscore_mysql.c: undefined reference to `mysql_real_connect@32' ../ssdev/hscore/hscore_mysql.o(.text+0x357):hscore_mysql.c: undefined reference to `mysql_error@4' ../ssdev/hscore/hscore_mysql.o(.text+0x3b0):hscore_mysql.c: undefined reference to `MPRemove' ../ssdev/hscore/hscore_mysql.o(.text+0x413):hscore_mysql.c: undefined reference to `afree' ../ssdev/hscore/hscore_mysql.o(.text+0x4c5):hscore_mysql.c: undefined reference to `amalloc' ../ssdev/hscore/hscore_mysql.o(.text+0x55b):hscore_mysql.c: undefined reference to `mysql_escape_string@12' ../ssdev/hscore/hscore_mysql.o(.text+0x5f1):hscore_mysql.c: undefined reference to `MPAdd' ../ssdev/hscore/hscore_mysql.o(.text+0x609):hscore_mysql.c: undefined reference to `mysql_num_rows@4' ../ssdev/hscore/hscore_mysql.o(.text+0x61f):hscore_mysql.c: undefined reference to `mysql_fetch_row@4' ../ssdev/hscore/hscore_mysql.o(.text+0x6ac):hscore_mysql.c: undefined reference to `MPInit' ../ssdev/hscore/hscore_mysql.o(.text+0x781):hscore_mysql.c: undefined reference to `astrdup' ../ssdev/hscore/hscore_mysql.o(.text+0x793):hscore_mysql.c: undefined reference to `astrdup' ../ssdev/hscore/hscore_mysql.o(.text+0x7a5):hscore_mysql.c: undefined reference to `astrdup' ../ssdev/hscore/hscore_mysql.o(.text+0x7b7):hscore_mysql.c: undefined reference to `astrdup' ../ssdev/hscore/hscore_mysql.o(.text+0x84a):hscore_mysql.c: undefined reference to `MPAdd' ../ssdev/hscore/hscore_mysql.o(.text+0x877):hscore_mysql.c: undefined reference to `MPDestroy' ../ssdev/hscore/hscore_mysql.o(.text+0x884):hscore_mysql.c: undefined reference to `afree' ../ssdev/hscore/hscore_mysql.o(.text+0x891):hscore_mysql.c: undefined reference to `afree' ../ssdev/hscore/hscore_mysql.o(.text+0x89e):hscore_mysql.c: undefined reference to `afree' ../ssdev/hscore/hscore_mysql.o(.text+0x8ab):hscore_mysql.c: undefined reference to `afree' ../ssdev/hscore/hscore_prizer.o(.text+0x780):hscore_prizer.c: undefined reference to `HashGetOne' ../ssdev/hscore/hscore_prizer.o(.text+0x791):hscore_prizer.c: undefined reference to `current_ticks' ../ssdev/hscore/hscore_prizer.o(.text+0x7a5):hscore_prizer.c: undefined reference to `afree' ../ssdev/hscore/hscore_prizer.o(.text+0x7b1):hscore_prizer.c: undefined reference to `amalloc' ../ssdev/hscore/hscore_prizer.o(.text+0x7bc):hscore_prizer.c: undefined reference to `current_ticks' ../ssdev/hscore/hscore_prizer.o(.text+0x7e1):hscore_prizer.c: undefined reference to `HashReplace' ../ssdev/hscore/hscore_prizer.o(.text+0x9c9):hscore_prizer.c: undefined reference to `HashAlloc' ../ssdev/hscore/hscore_storeman.o(.text+0x1cd):hscore_storeman.c: undefined reference to `strsplit' ../ssdev/hscore/hscore_storeman.o(.text+0x556):hscore_storeman.c: undefined reference to `LLAdd' ../ssdev/hscore/hscore_buysell.o(.text+0x6b0):hscore_buysell.c: undefined reference to `LLInit' ../ssdev/hscore/hscore_buysell.o(.text+0x8f7):hscore_buysell.c: undefined reference to `LLCount' ../ssdev/hscore/hscore_buysell.o(.text+0x9c7):hscore_buysell.c: undefined reference to `LLEmpty' ../ssdev/hscore/hscore_buysell.o(.text+0xb3f):hscore_buysell.c: undefined reference to `LLInit' ../ssdev/hscore/hscore_buysell.o(.text+0xd84):hscore_buysell.c: undefined reference to `LLCount' ../ssdev/hscore/hscore_buysell.o(.text+0xe54):hscore_buysell.c: undefined reference to `LLEmpty' ../ssdev/hscore/hscore_buysell.o(.text+0x18fa):hscore_buysell.c: undefined reference to `strsplit' ../ssdev/hscore/hscore_spawner.o(.text+0x44bb):hscore_spawner.c: undefined reference to `current_ticks' ../ssdev/hscore/hscore_spawner.o(.text+0x465c):hscore_spawner.c: undefined reference to `current_ticks' collect2: ld returned 1 exit status dllwrap.exe: no export definition file provided. Creating one, but that may not be what you want dllwrap.exe: gcc exited with status 1 make.exe: *** [../ssdev/hscore.dll] Error 1 Execution terminated |
Code: Show/Hide else if(ad->ship[ship].pointlimit > 0) { int points; pd->Lock(); points = stats->GetStat(p, STAT_FLAG_POINTS, 0) + stats->GetStat(p, STAT_KILL_POINTS, 0); pd->Unlock(); if(points < ad->ship[ship].pointlimit) return 0; } |
Code: Show/Hide is_shipok(...) { ... if (mode == MODE_ONLY) // blah else if (mode == MODE_EXCLUDE) // blah else ok = 1; if (ok) { // do point check here } return ok; } |