HD Scripts Posted April 12, 2020 Posted April 12, 2020 (edited) Even trying to copy the "announce" command, making the changes to leave it just below the old one, changing the X and Y and align positions. Even after compiling, there is no change in the game. Anybody know? const char *mes = script_getstr(st,2); int flag = script_getnum(st,3); const char *fontColor = script_hasdata(st,4) ? script_getstr(st,4) : NULL; int fontType = script_hasdata(st,5) ? script_getnum(st,5) : FW_NORMAL; // default fontType int fontSize = script_hasdata(st,6) ? script_getnum(st,6) : 12; // default fontSize int fontAlign = script_hasdata(st,7) ? script_getnum(st,7) : 0; // default fontAlign int fontY = script_hasdata(st,8) ? script_getnum(st,8) : 0; // default fontY doc/scripts_commands.txt Optional parameters may not work well (or at all) depending on a game client used. Edited April 12, 2020 by HD Scripts Quote
0 Start_ Posted April 12, 2020 Posted April 12, 2020 Maybe client sides need to change something too. Quote
0 Akkarin Posted April 12, 2020 Posted April 12, 2020 I'm pretty sure i've read somewhere that the location of the broadcast displayed int he client window is hardcoded - you can only use the offset (fontY), but trying to duplicate the command will still use the same packets, so unless you're going to repack your client with new packets to handle this (which is not possible) then you're stuck with the announce code that everyone else has. Quote
0 HD Scripts Posted April 12, 2020 Author Posted April 12, 2020 @Akkarin Got it. But even changing fontY doesn't change anything in announce. It remains in the same position on the screen. Quote
0 HD Scripts Posted April 12, 2020 Author Posted April 12, 2020 1 hour ago, Start_ said: Maybe client sides need to change something too. i'm using 20180620RagexeRE Quote
Question
HD Scripts
Even trying to copy the "announce" command, making the changes to leave it just below the old one, changing the X and Y and align positions.
Even after compiling, there is no change in the game.
Anybody know?
doc/scripts_commands.txt
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.