1 (edited by Slayer *gV* 2019-06-13 11:51:50)

Topic: [MOD] iVampire

// TODO: Nice Logo


About

iVampire is a modifcation of the well-known teeworlds-modification Instagib. It was developed to give You the chance to control the match and your enemies! Get enormous power through blasting your enemies and take them the chance to get any kill by healing up your teammates!
The current version 3.3 is based on Teeworlds 0.7.3.1.


Gameplay

Use the laser to smash your enemies (like in instagib).
Spawn with 1 health and feel your strength, when you steal enemies health points through killing them!
Heal your teammates in fantastic matches, to prevent that your enemies can gain any kills!
Reach up to 6 health points (by default) and feel like being immortal!


Features

iVampire specific features:

  • Laser deals two damage.

  • Lifesteal: Kill an enemy to gain 1 health.

  • Damagestars indicate remaining health.

  • Healing System for enhanced teamplay: Hit teammates to transfer one health point
    (Only when you have more than 1 health point, you cant suicide this way).

General features:

  • Instagib or Grenade Instagib

  • Laser Jumps: The laser will explode upon hitting a near wall, dealing no damage but pushing you away.

  • Spawn Protection: You can not be killed right after spawning, to prevent spawn camping.

  • Killing Sprees: The armor bar indicates your subsequent kills. You have to kill every 15 s, or your spree runs out. Every 5 kills your spree level increases, and a colored broadcast message with your name appears (cool!).


Server Settings

     

Feature           Setting                         Description
——————————————————————————————————————————————————————————————————————————————————————————
Max-Health:        "sv_vampire_health [0 .. 10]"   (default: 6)
Teamdamage:        "sv_teamdamage [0 .. 2]"        (0 = off, 1 = teamdamage on, 2 = health transfer; default: 2)
Killingspree msg:  "sv_killingspree_msg [0, 1]"    (0 = off, 1 = on; default: 1)
SpawnProtection:   "sv_spawn_protection [0, 1]"    (0 = off, 1 = on; default: 1)

Grenade max ammo:            "sv_grenade_ammo [-1, 6 .. 10]"         (-1 = infinite ammo; default: 6)
Grenade ammo regen delay:    "sv_grenade_ammo_regen [800 .. 2000]"   (lower = faster; default: 1000)
Grenade explosion threshold: "sv_grenade_kill_threshold [3 .. 6]"    (explosion area damage to be lethal, lower = more lethal; default: 5)

Gametype:
       iVampire:   "sv_gametype [   DM ,   TDM ,   CTF ,   LMS ,   LTS ]"
       gVampire:   "sv_gametype [ vgDM , vgTDM , vgCTF , vgLMS , vgLTS ]"
       gInstagib:  "sv_gametype [  gDM ,  gTDM ,  gCTF ,  gLMS ,  gLTS ]"
       Instagib:   "sv_gametype [  iDM ,  iTDM ,  iCTF ,  iLMS ,  iLTS ]"

How to set up your own server
  1. Download the matching server binary, or compile from source.

  2. Choose a gametype.

  3. Change some specific settings.

  4. Run your own server, cool!


Downloads

2

Re: [MOD] iVampire

Who's Edward Cullen?

3

Re: [MOD] iVampire

http://cache2.allpostersimages.com/p/LR … ilight.jpg

4

Re: [MOD] iVampire

Simple, but interesting and (seems) funny mod.
Looking forward to play it smile

Not Luck, Just Magic.

5

Re: [MOD] iVampire

[offtopic]

Slayer *gV* wrote:

You've ever dreamed of being like Edward Cullen? This might be your chance!

m!nus wrote:

Who's Edward Cullen?

Hip-Hop_BLOND wrote:

!?!?! XD !?!?!

That twilight movie sucks anyways... big_smile

[/offtopic]

Now... big_smile

You've done a good job, the mod is neat (as far as I can tell without yet testing it), you have one host from me tongue, but as we're considering it a mod I think it wouldn't be a  bad idea to remove the default gametype features:

- Vanilla: "sv_gametype dm/tdm/ctf"

I think it should have a special dark, vampire, creepy, bats maps and mb skins (like the zombie mod tongue) once the first version is out.

Contact me if you need a linux build.

6

Re: [MOD] iVampire

m!nus wrote:

Who's Edward Cullen?

yikes!!!
(:

Hip-Hop-BLOND wrote:

but as we're considering it a mod I think it wouldn't be a  bad idea to remove the default gametype features:

- Vanilla: "sv_gametype dm/tdm/ctf"

Ofc i could remove it, but i dont see any reason to do so. All "new" settings wont work for vanilla gametypes, to make sure there wont be any conflicts with the rules. If anyone modifies my code and his server gets banned, it isnt my fault.

Hip-Hop-BLOND wrote:

I think it should have a special dark, vampire, creepy, bats maps and mb skins (like the zombie mod tongue) once the first version is out.

Yeah, it would be great to have some official maps and skins. If anyone is interested in creating such things, he can send me his creations smile

Hip-Hop-BLOND wrote:

Contact me if you need a linux build.

When i uploaded the source code on github, i will contact you. thx smile

7

Re: [MOD] iVampire

[4e0a66e1][Console]: No such command: sv_vampire_max_health. =/

8

Re: [MOD] iVampire

Slayer wrote:

(Note: Settings will only work if iVampire Gametype was selected!)

Once in a century...

9

Re: [MOD] iVampire

Interesting... big_smile I've linked in a german community. Keep it up!

10

Re: [MOD] iVampire

Hip-Hop_BlOND wrote:

[4e0a66e1][Console]: No such command: sv_vampire_max_health. =/

Elite Tee wrote:
Slayer wrote:

(Note: Settings will only work if iVampire Gametype was selected!)

sv_gametype: vidm

What... you think I didn't check THAT?

11

Re: [MOD] iVampire

Hip-Hop_BLOND wrote:

sv_gametype: vidm

What... you think I didn't check THAT?

Do not use ":" and don't but caps in the gametype name it is case sensitive.

Not Luck, Just Magic.

12 (edited by HipHopBlond 2011-06-29 13:07:15)

Re: [MOD] iVampire

Hip-Hop_BlOND wrote:

[4e0a66e1][Console]: No such command: sv_vampire_max_health. =/

Elite Tee wrote:
Slayer wrote:

(Note: Settings will only work if iVampire Gametype was selected!)

Hip-Hop_BLOND wrote:

sv_gametype: vidm

What... you think I didn't check THAT?

Dune wrote:

Do not use ":" and don't but caps in the gametype name it is case sensitive.

This is not my first server. mad

http://i299.photobucket.com/albums/mm287/hiphopblond/vidm.jpg

13

Re: [MOD] iVampire

You did all right Hip-Hop-BLOND, its my fault.
The command is

sv_vampire_health

I will edit my first post, thx.

Btw: Some gameplay reviews would be nice. I couldnt test it yet, but i think there will be some issues with increasing health? If you agree, i will fix it.
Btw2: You can modify ivampire specific settings in the console, but they wont change anything ingame while other gametypes are running.

14

Re: [MOD] iVampire

Slayer *gV* wrote:

You did all right Hip-Hop-BLOND, its my fault.
The command is

sv_vampire_health

I will edit my first post, thx..

Finally ;D

Slayer *gV* wrote:

Some gameplay reviews would be nice.

Will take a few notes and share with you when I see a non-empty server smile

15

Re: [MOD] iVampire

Some little criticizes bout the gameplay of the mod:
At first, you really should disable this name removing system, it's sooo annoying you cannot see who's on the server it kinda sucks. Also, I feel like laserjumps aren't appropriate at all for the gamemode which is more kind of a DM-like gamemode than CTF.

Not Luck, Just Magic.

16

Re: [MOD] iVampire

All I can tell you so far is that server is crashing every 2/3 hours... (almost any time I look at that monitor it's giving me a send/don't send error), I can tell you much as it's hosted on windows, but it's usually after a new round starts (map rotation activated)

Offtopic: same goes for the openfng and rarely catch server.

17

Re: [MOD] iVampire

Hip-Hop_BLOND wrote:

All I can tell you so far is that server is crashing every 2/3 hours... (almost any time I look at that monitor it's giving me a send/don't send error), I can tell you much as it's hosted on windows, but it's usually after a new round starts (map rotation activated)

That's how you can see which are the good mods. This one is a good one. My mods crash approximatively every 2 minutes :D

Not Luck, Just Magic.

18

Re: [MOD] iVampire

Dune wrote:
Hip-Hop_BLOND wrote:

All I can tell you so far is that server is crashing every 2/3 hours... (almost any time I look at that monitor it's giving me a send/don't send error), I can tell you much as it's hosted on windows, but it's usually after a new round starts (map rotation activated)

That's how you can see which are the good mods. This one is a good one. My mods crash approximatively every 2 minutes big_smile

Good mods shouldn't crash at all sad

Hip-Hop-BLOND wrote:

All I can tell you so far is that server is crashing every 2/3 hours... (almost any time I look at that monitor it's giving me a send/don't send error), I can tell you much as it's hosted on windows, but it's usually after a new round starts (map rotation activated)

Thx for reporting this issue, but could you please provide more informations?
Like your config, number of players on the server when it crashs, and mb other informations you can gain.

19 (edited by HipHopBlond 2011-07-02 12:36:40)

Re: [MOD] iVampire

Dune wrote:

That's how you can see which are the good mods. This one is a good one. My mods crash approximatively every 2 minutes big_smile

LoL, as funny as it sound, it's really sad ;D. The Gamer recently started crashing on every (max) third connect/map switch (here) sad!

Slayer *gV* wrote:

Thx for reporting this issue, but could you please provide more informations?
Like your config, number of players on the server when it crashs, and mb other informations you can gain.

Well ok, but I don't think this will take you far.

Almost all of the times it crashes on new round start.

Doesn't matter the player count... I've seen 2/4 ... 10 players in the server.

Config:

sv_name «HipHopBlond's Vampire Server»
sv_bindaddr
sv_port 8308
sv_external_port 0
sv_max_clients 16
sv_high_bandwidth 0
sv_register 1
sv_map dm1
sv_rcon_password *********
sv_warmup 0
sv_scorelimit 20
sv_timelimit 15
sv_gametype vidm
sv_maprotation dm2 dm6 dm7 dm8 dm9 dm_desert_sundown dm1
sv_rounds_per_map 1
sv_motd "Hey (:\n\nWelcome to Hip-Hop_BLOND's\nVampire Server!\n\nAdmins:\n\n - Hip-Hop_BLOND\n - Melih\n\n!_Prepare To Drain & Have Fun_!\n\n^_^"
sv_spectator_slots 0
sv_teambalance_time 1
sv_spamprotection 1
sv_tournament_mode 0
sv_teamdamage 0
sv_respawn_delay_tdm 0
sv_powerups 0
sv_vote_kick 1
sv_vote_spectate 1
sv_vote_kick_min 0
sv_vote_kick_bantime 5
sv_inactivekick 0
sv_inactivekick_time 5
sv_laserjumps 2
sv_hide_playernames 1
sv_vampire_health 5
add_vote "__________" "say Incorrect Vote Option!"
add_vote "|||INFO|||" "say Incorrect Vote Option!"
add_vote "^^^^^^^^^^" "say Incorrect Vote Option!"
add_vote "Admin Cool?" "say Thank You! Welcome to Hip-Hop_BLOND's Vampire Server!"
add_vote "Map Cool?" "say Thank You! Welcome to Hip-Hop_BLOND's Vampire Server!"
add_vote "Server Cool?" "say Thank You! Welcome to Hip-Hop_BLOND's Vampire Server!"
add_vote "_____________" "say Incorrect Vote Option!"
add_vote "|||OPTIONS|||" "say Incorrect Vote Option!"
add_vote "^^^^^^^^^^^^^" "say Incorrect Vote Option!"
add_vote "Restart in 10 Seconds!" "broadcast Restarting...; restart 10"
add_vote "___________" "say Incorrect Vote Option!"
add_vote "|||MAPS|||" "say Incorrect Vote Option!"
add_vote "^^^^^^^^^^^" "say Incorrect Vote Option!"
add_vote "Change map to dm1!" "change_map dm1"
add_vote "Change map to dm2!" "change_map dm2"
add_vote "Change map to dm6!" "change_map dm6"
add_vote "Change map to dm7!" "change_map dm7"
add_vote "Change map to dm8!" "change_map dm8"
add_vote "Change map to dm9!" "change_map dm9"
add_vote "Change map to dm_desert_sundown!" "change_map dm_desert_sundown"
add_vote "Change map to desertbattle!" "change_map desertbattle"
logfile Vampire_Server

An interesting log file: (just a few moments go, didn't even had to start a new round...)

[4e0ef207][game]: rotating map to dm_desert_sundown
[4e0ef207][game]: start round type='viDM' teamplay='0'
[4e0ef207][datafile]: loading. filename='maps/dm_desert_sundown.map'
[4e0ef207][datafile]: allocsize=2612
[4e0ef207][datafile]: readsize=2448
[4e0ef207][datafile]: swaplen=2468
[4e0ef207][datafile]: item_size=2060
[4e0ef207][datafile]: loading done. datafile='maps/dm_desert_sundown.map'
[4e0ef207][server]: maps/dm_desert_sundown.map crc is 915a4421
[4e0ef207][datafile]: loading data index=16 size=494 uncompressed=21000
[4e0ef207][server]: player is ready. ClientID=1 addr=82.230.66.62:41109
[4e0ef207][server]: client dropped. cid=0 addr=79.209.17.163:59189 reason=''
[4e0ef207][server]: player has entered the game. ClientID=1 addr=82.230.66.62:41109
[4e0ef207][chat]: *** 'nameless tee' entered and joined the game
[4e0ef207][game]: team_join player='1:nameless tee' team=0
[4e0ef20d][server]: player is ready. ClientID=0 addr=79.209.17.163:59189
[4e0ef20d][server]: 'ShadowShooter28' -> 'ShadowShooter28'
[4e0ef20d][server]: player has entered the game. ClientID=0 addr=79.209.17.163:59189
[4e0ef20d][chat]: *** 'ShadowShooter28' entered and joined the game
[4e0ef20d][game]: team_join player='0:ShadowShooter28' team=0
[4e0ef210][game]: kill killer='1:nameless tee' victim='0:ShadowShooter28' weapon=4 special=0
[4e0ef213][game]: kill killer='1:nameless tee' victim='0:ShadowShooter28' weapon=4 special=0
[4e0ef217][server]: player is ready. ClientID=2 addr=217.250.196.164:56033
[4e0ef218][server]: 'Froze ' -> 'Froze'
[4e0ef218][server]: player has entered the game. ClientID=2 addr=217.250.196.164:56033
[4e0ef218][chat]: *** 'Froze' entered and joined the game
[4e0ef218][game]: team_join player='2:Froze' team=0
[4e0ef219][game]: kill killer='1:nameless tee' victim='0:ShadowShooter28' weapon=4 special=0
[4e0ef221][game]: kill killer='0:ShadowShooter28' victim='2:Froze' weapon=4 special=0
[4e0ef22a][game]: kill killer='1:nameless tee' victim='1:nameless tee' weapon=-1 special=0
[4e0ef233][game]: kill killer='2:Froze' victim='1:nameless tee' weapon=4 special=0
[4e0ef236][game]: kill killer='2:Froze' victim='0:ShadowShooter28' weapon=4 special=0
[4e0ef23d][game]: kill killer='2:Froze' victim='1:nameless tee' weapon=4 special=0
[4e0ef23e][game]: kill killer='0:ShadowShooter28' victim='0:ShadowShooter28' weapon=-1 special=0
[4e0ef244][game]: kill killer='2:Froze' victim='1:nameless tee' weapon=4 special=0
[4e0ef24e][game]: kill killer='1:nameless tee' victim='0:ShadowShooter28' weapon=4 special=0
[4e0ef24f][game]: kill killer='1:nameless tee' victim='1:nameless tee' weapon=-1 special=0
[4e0ef253][game]: kill killer='2:Froze' victim='0:ShadowShooter28' weapon=4 special=0
[4e0ef253][chat]: *** Froze is an unexperienced vampire with 5 kills!
[4e0ef257][game]: kill killer='0:ShadowShooter28' victim='1:nameless tee' weapon=4 special=0
[4e0ef259][game]: kill killer='0:ShadowShooter28' victim='0:ShadowShooter28' weapon=-1 special=0
[4e0ef261][game]: kill killer='1:nameless tee' victim='0:ShadowShooter28' weapon=4 special=0
[4e0ef268][game]: kill killer='1:nameless tee' victim='0:ShadowShooter28' weapon=4 special=0
[4e0ef268][server]: player is ready. ClientID=3 addr=83.9.203.158:1100
[4e0ef26a][server]: 'maksio52 [pl]' -> 'maksio52 [pl]'
[4e0ef26a][server]: player has entered the game. ClientID=3 addr=83.9.203.158:1100
[4e0ef26a][chat]: *** 'maksio52 [pl]' entered and joined the game
[4e0ef26a][game]: team_join player='3:maksio52 [pl]' team=0
[4e0ef26a][game]: kill killer='0:ShadowShooter28' victim='0:ShadowShooter28' weapon=-1 special=0
[4e0ef271][game]: kill killer='3:maksio52 [pl]' victim='1:nameless tee' weapon=4 special=0
[4e0ef278][chat]: *** 'ShadowShooter28' called vote to change server option 'Change map to desertbattle!' (No reason given)
[4e0ef27d][game]: kill killer='2:Froze' victim='3:maksio52 [pl]' weapon=4 special=0
[4e0ef27f][game]: kill killer='0:ShadowShooter28' victim='0:ShadowShooter28' weapon=-1 special=0
[4e0ef282][chat]: *** Vote passed
[4e0ef286][server]: client dropped. cid=2 addr=217.250.196.164:56033 reason=''
[4e0ef286][game]: kill killer='2:Froze' victim='2:Froze' weapon=-3 special=0
[4e0ef286][chat]: *** Froze was looking good till he killed himself!
[4e0ef286][chat]: *** 'Froze' has left the game
[4e0ef286][game]: leave player='2:Froze'
[4e0ef28c][game]: rotating map to desertbattle
[4e0ef28c][game]: start round type='viDM' teamplay='0'
[4e0ef28c][datafile]: loading. filename='maps/desertbattle.map'
[4e0ef28c][datafile]: allocsize=2292
[4e0ef28c][datafile]: readsize=2144
[4e0ef28c][datafile]: swaplen=2164
[4e0ef28c][datafile]: item_size=1824
[4e0ef28c][datafile]: loading done. datafile='maps/desertbattle.map'
[4e0ef28c][server]: maps/desertbattle.map crc is ca0f51b0
[4e0ef28c][datafile]: loading data index=14 size=296 uncompressed=21400
[4e0ef28c][server]: player is ready. ClientID=1 addr=82.230.66.62:41109
[4e0ef28d][server]: player is ready. ClientID=3 addr=83.9.203.158:1100
[4e0ef28d][server]: player is ready. ClientID=0 addr=79.209.17.163:59189
[4e0ef28d][server]: player has entered the game. ClientID=1 addr=82.230.66.62:41109
[4e0ef28d][chat]: *** 'nameless tee' entered and joined the game
[4e0ef28d][game]: team_join player='1:nameless tee' team=0
[4e0ef28d][server]: player has entered the game. ClientID=0 addr=79.209.17.163:59189
[4e0ef28d][chat]: *** 'ShadowShooter28' entered and joined the game
[4e0ef28d][game]: team_join player='0:ShadowShooter28' team=0
[4e0ef28e][server]: player has entered the game. ClientID=3 addr=83.9.203.158:1100
[4e0ef28e][chat]: *** 'maksio52 [pl]' entered and joined the game
[4e0ef28e][game]: team_join player='3:maksio52 [pl]' team=0
[4e0ef296][game]: kill killer='1:nameless tee' victim='3:maksio52 [pl]' weapon=4 special=0
[4e0ef298][game]: kill killer='1:nameless tee' victim='0:ShadowShooter28' weapon=4 special=0
[4e0ef29a][game]: kill killer='1:nameless tee' victim='0:ShadowShooter28' weapon=4 special=0

~CRASH~

All of the info from the current round, hope it was useful.

20 (edited by Slayer *gV* 2011-07-02 13:19:34)

Re: [MOD] iVampire

Uploaded source code on Github: https://github.com/Sepulzera/teeworlds/
BUT: Seems my system is infected by an malware. Avira Antivira is raging when compiling, that my applications (crapnet.exe etc) got the trojan "TR/ATRAPS.Gen". However, comodo cant find anything there :\
Source code should be clean, but i wont guarantee.


@Hip-Hop_BLOND: Thx for config & log file, ill check it. smile

21

Re: [MOD] iVampire

Very funny and nice idea, I like it.
Good job!

Visit our clan: =Eagle= !

22

Re: [MOD] iVampire

~Update~

- fixed a bug causing the mod to crash (thx for Hip-Hop_Blond's help)
- killing teammates (enabled teamdamage) won't increase the killing spree
- to support a faster gameplay, you have to KILL the opponent tee to gain 1 health

23 (edited by HipHopBlond 2011-07-03 19:52:54)

Re: [MOD] iVampire

Slayer *gV* wrote:
~Update~

Yeey, I'm so glad you managed to fix And upload the source code on github smile

Will edit this post giving you a linuX bin in a moment tongue

Not the EDIT you expected: Are you sure you fixed everything? wink

liuX complete Compile Log:

orlin@Acer-AO-D260-Bkk:~$ cd /home/orlin/TeeWorlds/Bam/vampire
orlin@Acer-AO-D260-Bkk:~/TeeWorlds/Bam/vampire$ /home/orlin/TeeWorlds/Bam/Bam server_release
auto configuration

configuration:
AUTO  compiler             gcc
AUTO  stackprotector       yes
AUTO  zlib                 (in system path)
AUTO  sdl                  using sdl-config
AUTO  freetype             using freetype-config

notes:
saved configuration to 'config.lua'

[ 1/65] #1 c++ src/engine/shared/masterserver.cpp
[ 2/65] #1 c++ src/engine/shared/network_conn.cpp
[ 3/65] #1 c++ src/engine/shared/map.cpp
[ 4/65] #1 c++ src/engine/shared/snapshot.cpp
[ 5/65] #1 c++ src/engine/shared/network_client.cpp
[ 6/65] #1 c++ src/engine/shared/console.cpp
[ 7/65] #1 c++ src/engine/shared/packer.cpp
[ 8/65] #1 c++ src/engine/shared/network_server.cpp
[ 9/65] #1 c++ src/engine/shared/huffman.cpp
[10/65] #1 c++ src/engine/shared/linereader.cpp
[11/65] #1 c++ src/engine/shared/jobs.cpp
[12/65] #1 c++ src/engine/shared/network.cpp
[13/65] #1 c++ src/engine/shared/datafile.cpp
[14/65] #1 c++ src/engine/shared/ringbuffer.cpp
[15/65] #1 c++ src/engine/shared/compression.cpp
[16/65] #1 c++ src/engine/shared/storage.cpp
[17/65] #1 c++ src/engine/shared/config.cpp
[18/65] #1 c++ src/engine/shared/engine.cpp
[19/65] #1 c++ src/engine/shared/demo.cpp
[20/65] #1 c++ src/engine/shared/memheap.cpp
[21/65] #1 c++ src/engine/shared/kernel.cpp
[22/65] #1 c++ src/engine/shared/mapchecker.cpp
[23/65] #1 c src/base/system.c
[24/65] #1 c++ src/engine/server/server.cpp
src/engine/server/server.cpp: In member function ‘void CServer::ProcessClientPacket(CNetChunk*)’:
src/engine/server/server.cpp:698:99: error: ‘strcmp’ was not declared in this scope
Bam: 'objs/engine/server/server.o' error 256
[25/65] #1 c++ src/engine/server/register.cpp
[26/65] #1 c++ src/game/localization.cpp
[27/65] #1 network_header > src/game/generated/protocol.h
[28/65] #1 c++ src/game/gamecore.cpp
[29/65] #1 c++ src/game/collision.cpp
[30/65] #1 c++ src/game/layers.cpp
[31/65] #1 cmd5 src/game/generated/nethash.c
[32/65] #1 c src/game/generated/nethash.c
[33/65] #1 network_source > src/game/generated/protocol.cpp
[34/65] #1 c++ src/game/generated/protocol.cpp
[35/65] #1 server_content_header > src/game/generated/server_data.h
[36/65] #1 c++ src/game/server/entities/flag.cpp
[37/65] #1 c++ src/game/server/entities/pickup.cpp
[38/65] #1 c++ src/game/server/entities/projectile.cpp
[39/65] #1 c++ src/game/server/entities/laser.cpp
[40/65] #1 c++ src/game/server/entities/character.cpp
src/game/server/entities/character.cpp: In member function ‘bool CCharacter::TakeDamage(vec2, int, int, int)’:
src/game/server/entities/character.cpp:784:14: warning: unused variable ‘pChrFrom’
[41/65] #1 c++ src/game/server/gamecontext.cpp
src/game/server/gamecontext.cpp: In member function ‘virtual void CGameContext::OnInit()’:
src/game/server/gamecontext.cpp:1368:42: warning: deprecated conversion from string constant to ‘char*’
src/game/server/gamecontext.cpp:1373:42: warning: deprecated conversion from string constant to ‘char*’
src/game/server/gamecontext.cpp:1378:41: warning: deprecated conversion from string constant to ‘char*’
src/game/server/gamecontext.cpp:1383:37: warning: deprecated conversion from string constant to ‘char*’
src/game/server/gamecontext.cpp:1388:37: warning: deprecated conversion from string constant to ‘char*’
src/game/server/gamecontext.cpp:1393:36: warning: deprecated conversion from string constant to ‘char*’
[42/65] #1 c++ src/game/server/gamemodes/mod.cpp
[43/65] #1 c++ src/game/server/gamemodes/dm.cpp
[44/65] #1 c++ src/game/server/gamemodes/tdm.cpp
[45/65] #1 c++ src/game/server/gamemodes/ctf.cpp
[46/65] #1 c++ src/game/server/eventhandler.cpp
[47/65] #1 c++ src/game/server/player.cpp
[48/65] #1 c++ src/game/server/entity.cpp
[49/65] #1 c++ src/game/server/gameworld.cpp
[50/65] #1 c++ src/game/server/gamecontroller.cpp
[51/65] #1 server_content_source > src/game/generated/server_data.cpp
[52/65] #1 c++ src/game/generated/server_data.cpp
[53/65] #1 c src/engine/external/zlib/inflate.c
[54/65] #1 c src/engine/external/zlib/inftrees.c
[55/65] #1 c src/engine/external/zlib/infback.c
[56/65] #1 c src/engine/external/zlib/gzio.c
[57/65] #1 c src/engine/external/zlib/adler32.c
[58/65] #1 c src/engine/external/zlib/compress.c
[59/65] #1 c src/engine/external/zlib/trees.c
[60/65] #1 c src/engine/external/zlib/zutil.c
[61/65] #1 c src/engine/external/zlib/uncompr.c
[62/65] #1 c src/engine/external/zlib/crc32.c
[63/65] #1 c src/engine/external/zlib/inffast.c
[64/65] #1 c src/engine/external/zlib/deflate.c
Bam: error: a build step failed

24

Re: [MOD] iVampire

Warnings seem to be uninteresting, but the error is strange.
Seems strcmp is missing, but strcmp is a function of the C standard library (string.h).
However, it should work when you replace all "strcmp" with "str_comp" (leaving "") in server.cpp, line 698.
I will update/fix it, too, but not tonight smile

25

Re: [MOD] iVampire

Slayer *gV* wrote:

Warnings seem to be uninteresting, but the error is strange.
Seems strcmp is missing, but strcmp is a function of the C standard library (string.h).
However, it should work when you replace all "strcmp" with "str_comp" (leaving "") in server.cpp, line 698.
I will update/fix it, too, but not tonight smile

You should not use any function from string.h, use the ones from Teeworlds wink
And don't forget they have a different signature, if I remember correctly, strcmp takes 2 arguments and str_comp 3 (a size being the third)

Not Luck, Just Magic.