GithubHelp home page GithubHelp logo

Comments (12)

IceNinjaman avatar IceNinjaman commented on July 19, 2024 1

I am investigating it.

from cod4x_server.

PureTryOut avatar PureTryOut commented on July 19, 2024

Aah I thought this was an issue in some of my own gsc code, clearly not. Thanks for reporting this

(so yes this is reproduceable, a Linux server in my case)

from cod4x_server.

IceNinjaman avatar IceNinjaman commented on July 19, 2024

Can somebody explain please what this function is supposed to do and how its getting used? I have no glue what's up with that script method.

from cod4x_server.

florczakraf avatar florczakraf commented on July 19, 2024

I think it worked a little bit like this:

hud setText(player.name);

where hud is given hud we want to chage and player is player entity. I said a little because I'm pretty sure it worked when you had hud.label set to string that included &&1 and when you used setPlayerNameString it interpolated that string with player's name. Afair it's not possible to use setValue with strings. @PureTryOut please correct me if I'm wrong.

from cod4x_server.

PureTryOut avatar PureTryOut commented on July 19, 2024

If only I knew (I don't script stuff, I just use the scripts ;)), I'm just saying I have this problem as well, with a pretty much stock CoD4X server.

from cod4x_server.

florczakraf avatar florczakraf commented on July 19, 2024

Alright, the screenshot I posted is from stock CoD4x as well.

On 16 August 2016 at 19:55, PureTryOut [email protected] wrote:

If only I knew (I don't script stuff, I just use the scripts ;)), I'm just
saying I have this problem as well, with a pretty much stock CoD4X server.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/D4edalus/CoD4x_Server/issues/42#issuecomment-240183710,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIna0-3Da1oRZ8ESBIBQBYLxKQngPFIEks5qgfl0gaJpZM4Jj3-y
.

from cod4x_server.

T-Maxxx avatar T-Maxxx commented on July 19, 2024

I'm using "SetText" - always worked but may cause crash because of "string index overflow" or smth like that.

from cod4x_server.

IceNinjaman avatar IceNinjaman commented on July 19, 2024

I am almost certain it is a client side issue. Client accessing the shortname it shouldn't do.

from cod4x_server.

IceNinjaman avatar IceNinjaman commented on July 19, 2024

Well it is fixed for now but had some issues. Playernames will truncate to 15 chars.
D4edalus@baa1482
Has to be removed when upgrade to version 16.x is released.

from cod4x_server.

florczakraf avatar florczakraf commented on July 19, 2024

This build fails. https://travis-ci.org/D4edalus/CoD4x_Server
You have to fix your build script because it returns wrong code on compilation errors.

Linking...
bin/sapi.o: In function `SV_SApiData':
/home/travis/build/D4edalus/CoD4x_Server/bin/../src/sapi.c:559: undefined reference to `ClientUserinfoChanged'
bin/scr_vm_classfunc.o: In function `ClientScr_SetSessionTeam':
/home/travis/build/D4edalus/CoD4x_Server/bin/../src/scr_vm_classfunc.c:64: undefined reference to `ClientUserinfoChanged'
bin/scr_vm_functions.o: In function `PlayerCmd_spawn':
/home/travis/build/D4edalus/CoD4x_Server/bin/../src/scr_vm_functions.c:1976: undefined reference to `ClientSpawn'
bin/sv_client.o: In function `SV_UpdateUserinfo_f':
/home/travis/build/D4edalus/CoD4x_Server/bin/../src/sv_client.c:1809: undefined reference to `ClientUserinfoChanged'
bin/sys_cod4loader.o: In function `Sys_PatchImageData':
/home/travis/build/D4edalus/CoD4x_Server/bin/../src/sys_cod4loader.c:268: undefined reference to `ClientSpawn'
/home/travis/build/D4edalus/CoD4x_Server/bin/../src/sys_cod4loader.c:304: undefined reference to `ClientUserinfoChanged'
collect2: ld returned 1 exit status

from cod4x_server.

PureTryOut avatar PureTryOut commented on July 19, 2024

(Ninja, maybe not the time to mention it, but this stuff is why everyone should have their PR's reviewed, even you, so we're sure it always works for everyone, on every platform)

Fails to compile for me as well, on Linux.

from cod4x_server.

IceNinjaman avatar IceNinjaman commented on July 19, 2024

Should be fine now as we have version 16.0

from cod4x_server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.