HD Scripts Posted April 12, 2020 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 184 Reputation: 15 Joined: 06/10/12 Last Seen: 18 hours ago Share 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 Link to comment Share on other sites More sharing options...
0 Start_ Posted April 12, 2020 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 950 Reputation: 180 Joined: 04/05/13 Last Seen: 7 hours ago Share Posted April 12, 2020 Maybe client sides need to change something too. Quote Link to comment Share on other sites More sharing options...
0 Akkarin Posted April 12, 2020 Group: Forum Manager Topic Count: 282 Topics Per Day: 0.06 Content Count: 3144 Reputation: 1630 Joined: 03/26/12 Last Seen: Tuesday at 10:17 AM Share 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 Link to comment Share on other sites More sharing options...
0 HD Scripts Posted April 12, 2020 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 184 Reputation: 15 Joined: 06/10/12 Last Seen: 18 hours ago Author Share 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 Link to comment Share on other sites More sharing options...
0 HD Scripts Posted April 12, 2020 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 184 Reputation: 15 Joined: 06/10/12 Last Seen: 18 hours ago Author Share Posted April 12, 2020 1 hour ago, Start_ said: Maybe client sides need to change something too. i'm using 20180620RagexeRE Quote Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.