-
Notifications
You must be signed in to change notification settings - Fork 758
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3082 from 4144/updatepackets
Update packets for all client types
- Loading branch information
Showing
95 changed files
with
19,882 additions
and
675 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
//===== Hercules Script ====================================== | ||
//= Dialog text align demo | ||
//===== By: ================================================== | ||
//= 4144 | ||
//===== Current Version: ===================================== | ||
//= 1.0 | ||
//===== Description: ========================================= | ||
//= Dialog align demo in prontera. | ||
//============================================================ | ||
|
||
prontera,162,284,4 script Align demo#prt 4_M_KID1,{ | ||
setdialogalign(DIALOG_ALIGN_LEFT); | ||
mes("Align left"); | ||
next; | ||
setdialogalign(DIALOG_ALIGN_RIGHT); | ||
mes("Align right"); | ||
next; | ||
setdialogalign(DIALOG_ALIGN_CENTER); | ||
mes("Align center"); | ||
next; | ||
// reset horizontal align | ||
setdialogalign(DIALOG_ALIGN_LEFT); | ||
|
||
setdialogalign(DIALOG_ALIGN_TOP); | ||
mes("Align top"); | ||
next; | ||
setdialogalign(DIALOG_ALIGN_MIDDLE); | ||
mes("Align middle"); | ||
next; | ||
setdialogalign(DIALOG_ALIGN_BOTTOM); | ||
mes("Align bottom"); | ||
next; | ||
|
||
setdialogalign(DIALOG_ALIGN_LEFT); | ||
setdialogalign(DIALOG_ALIGN_TOP); | ||
mes("Align left + top"); | ||
next; | ||
setdialogalign(DIALOG_ALIGN_LEFT); | ||
setdialogalign(DIALOG_ALIGN_MIDDLE); | ||
mes("Align left + middle"); | ||
next; | ||
setdialogalign(DIALOG_ALIGN_LEFT); | ||
setdialogalign(DIALOG_ALIGN_BOTTOM); | ||
mes("Align left + bottom"); | ||
next; | ||
|
||
setdialogalign(DIALOG_ALIGN_RIGHT); | ||
setdialogalign(DIALOG_ALIGN_TOP); | ||
mes("Align right + top"); | ||
next; | ||
setdialogalign(DIALOG_ALIGN_RIGHT); | ||
setdialogalign(DIALOG_ALIGN_MIDDLE); | ||
mes("Align right + middle"); | ||
next; | ||
setdialogalign(DIALOG_ALIGN_RIGHT); | ||
setdialogalign(DIALOG_ALIGN_BOTTOM); | ||
mes("Align right + bottom"); | ||
next; | ||
|
||
setdialogalign(DIALOG_ALIGN_CENTER); | ||
setdialogalign(DIALOG_ALIGN_TOP); | ||
mes("Align center + top"); | ||
next; | ||
setdialogalign(DIALOG_ALIGN_CENTER); | ||
setdialogalign(DIALOG_ALIGN_MIDDLE); | ||
mes("Align center + middle"); | ||
next; | ||
setdialogalign(DIALOG_ALIGN_CENTER); | ||
setdialogalign(DIALOG_ALIGN_BOTTOM); | ||
mes("Align center + bottom"); | ||
next; | ||
|
||
close; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
//===== Hercules Script ====================================== | ||
//= Zero ui demo | ||
//===== By: ================================================== | ||
//= 4144 | ||
//===== Current Version: ===================================== | ||
//= 1.0 | ||
//===== Description: ========================================= | ||
//= Zero ui demo in prontera. | ||
//============================================================ | ||
|
||
prontera,161,284,4 script Zero UI demo#prt 4_M_KID1,{ | ||
cutin("h_iris01.bmp", 2); | ||
zmes1("Hello <FONT SIZE = 30><B>hercules</B></FONT> with zero ui!"); | ||
next; | ||
switch (zselect("zmes1", "zmes2", "zmes1f", "zmes2f")) { | ||
case 1: | ||
zmes1("zmes1: select 1"); | ||
break; | ||
case 2: | ||
zmes2("zmes2: 2"); | ||
break; | ||
case 3: | ||
zmes1f("zmes1f: %d", 3); | ||
break; | ||
case 4: | ||
zmes2f("zmes2f: %d", 4); | ||
break; | ||
case 255: | ||
zmes1("select cancel"); | ||
break; | ||
} | ||
next; | ||
zmes1("line after ^FF0000next"); | ||
next; | ||
zmes1("again line after ^FF0000next"); | ||
zmes2("test message2 ^00FF004"); | ||
next; | ||
zmes2("Hello <FONT SIZE = 30><B>^00FF00hercules^FFFFFF</B></FONT> with zero <FONT SIZE = 20>^FF0000UI^FFFFFF</FONT>!"); | ||
close; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.