Skip to content

Commit

Permalink
Add new OSRS opcodes to support 194 and 195.
Browse files Browse the repository at this point in the history
  • Loading branch information
Displee committed Apr 19, 2021
1 parent 064921d commit 9a6f294
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
buildscript {
ext.kotlin_version = '1.4.10'
ext.kotlin_version = '1.4.31'
ext.jetty_version = '9.4.7.v20170914'
repositories {
jcenter()
Expand All @@ -16,7 +16,7 @@ plugins {
}

archivesBaseName = 'cs2-editor'
version = '1.1'
version = '1.2'

repositories {
jcenter()
Expand Down
16 changes: 12 additions & 4 deletions src/main/resources/cs2/opcode/database/osrs.ini
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,8 @@

2314 cs2method2314 void int arg0 Widget widget

2352 cs2method2352 void int arg0 int arg1 Widget arg2

2500 getX int Widget widget

2501 getY int Widget widget
Expand Down Expand Up @@ -1470,13 +1472,15 @@

6205 cs2method6205 {int,int}

6220 cs2method6220 void int arg0
6210 cs2method6210 void int arg0

6220 cs2method6220 int

6221 cs2method6220 void int arg0
6221 cs2method6221 int

6222 cs2method6220 void int arg0
6222 cs2method6222 int

6223 cs2method6220 void int arg0
6223 cs2method6223 int

6300 getMinute int

Expand Down Expand Up @@ -1516,6 +1520,8 @@

6510 cs2method6510 int

6527 cs2method6527 boolean

6700 cs2method6700 int

6701 cs2method6701 {int,int} int arg0
Expand Down Expand Up @@ -1682,6 +1688,8 @@

2927 cs2method2927 void Widget widget

2928 cs2method2928 void Widget widget int arg1 int arg2

3103 sendCloseWidgetPacket void

3620 sendUnknownVarByteEmptyFriendPacketMethod3620 void
Expand Down
4 changes: 4 additions & 0 deletions src/main/resources/cs2/opcode/unscramble/179.txt
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@
2312 2312
2313 2313
2314 2314
2352 2352
2500 2500
2501 2501
2502 2502
Expand Down Expand Up @@ -767,6 +768,7 @@
6203 6203
6204 6204
6205 6205
6210 6210
6220 6220
6221 6221
6222 6222
Expand All @@ -784,6 +786,7 @@
6507 6507
6509 6509
6510 6510
6527 6527
6700 6700
6701 6701
6702 6702
Expand Down Expand Up @@ -866,6 +869,7 @@
2307 2307
1927 1927
2927 2927
2928 2928
3103 3103
#3620 3620
3718 3718
Expand Down

0 comments on commit 9a6f294

Please sign in to comment.