How To Integrate RtC With NewGen

Komaqtion

You can change this now in User CP.
Reaction score
469
If it's of anyone's interest, I've now made a small list of the "programming-numbers" of the keys on the QWERTY keyboard (Swedish edition though...) to use with the new natives provided my SFilip :D

Swedish Keyboard Layout, button numbers for WC3 (And programming in general :D)
(I'd guess that the swedish letters' numbers, ÅÄÖ, will just be removed in the regular QWERTY keyboard, and not be used at all :S)


Esc = 27
F1 - F12 = 112 - 123
Prt Scr/Sys Rq = 44
Scroll Lock = 145
Pause/Break = 19
§½ = 220
0 - 9 = 48 - 57
+?\ = 187
´` = 219
Backspace = 8
Return = 13
Shift = 16
Ctrl = 17
93
Right Windows Button = 92
Alt Gr = 18
Space = 32
Alt = Doesn't work
Left Windows Button = 91
Caps Lock = 20
Tab = 9
A - Z = 65 - 90
^~¨ = 186
*' = 191
,-. = 188 - 190
Insert = 45
Home = 36
PgUp = 33
PgDn = 34
End = 35
Delete = 46
ÅÄÖ (The swedish letters :p) = 221, 222, 192
Arrow Keys (Left, Up, Right, Down) = 37 - 40
Num Lock = 144
/ = 111
* = 106
- = 109
+ = 107
Num Pad Numbers (0-9) = 96 - 105
, and Del = 110
 

Sevion

The DIY Ninja
Reaction score
413
Nice job, Komaqtion. I'll try and get started on an English version ;)

ToolTip, I don't think a "perfect" sleep would be any use. Anyone needing one uses timers anyhow.
 

tooltiperror

Super Moderator
Reaction score
231
Other than GUI users, but I guess that's a dead battle...

Also, perfect TSA would be awesome for systems, because TSA is inaccurate below .27.
 

Sevion

The DIY Ninja
Reaction score
413
Timers?

Seriously, there's only one thing you need for delayed actions: [ljass]call TimerStart(CreateTimer(), time, false, function Callback)[/ljass]
 

Romek

Super Moderator
Reaction score
963
One of the key reasons as to why people actually use timers is because TSA is so inaccurate.
Separate functions, counters and 'attachment' is all a nuisance compared to the simplicity of a single function call.
 

Sevion

The DIY Ninja
Reaction score
413
Map for the English QWERTY keyboard.

My keyboard: G15 (I did not map the G-Keys or media keys)

JASS:
A-65
B-66
C-67
D-68
E-69
F-70
G-71
H-72
I-73
J-74
K-75
L-76
M-77
N-78
O-79
P-80
Q-81
R-82
S-83
T-84
U-85
V-86
W-87
X-88
Y-89
Z-90
0-48
1-49
2-50
3-51
4-52
5-53
6-54
7-55
8-56
9-57
,-188
.-190
/-191
;-186
'-222
[-219
]-221
\-220
--189
=-187
`-192
Esc-27
F1-112
F2-113
F3-114
F4-115
F5-116
F6-117
F7-118
F8-119
F9-120
F10-121
F11-122
F12-123
Tab-9
Caps-20
Shift-16
Ctrl-17
Windows-N/A
Alt-N/A
Space-32
Menu-N/A
Backspace-8
Enter-13
LArrow-37
RArrow-39
UArrow-38
DArrow-40
Ins-45
Del-46
Home-36
End-35
PageU-33
PageD-34
// NumPad
NumLock-144
/-111
*-106
--109
+-107
0-96
1-97
2-98
3-99
4-100
5-101
6-102
7-103
8-104
9-105
.-110
PrtScr-N/A
ScrollLock-145
Pause-19
 

Sevion

The DIY Ninja
Reaction score
413
No? RtC allows you to change the game itself. (Injecting new code in the form of natives etc etc etc)
 

bLu3_eYeS

New Member
Reaction score
31
No? RtC allows you to change the game itself. (Injecting new code in the form of natives etc etc etc)

On short , you can modify everything in the game ?
What knowledges you need to use it ? Jass ? vJass ? cJass ?
I wanna learn Jass but im in a lack of time with this school...
 

bLu3_eYeS

New Member
Reaction score
31
Damn. . . I will try learn that language.Anyways can you give me a exaple how could i mod it ? I mean what kind of things can i do ? Change the UI etc ?
 

tooltiperror

Super Moderator
Reaction score
231
Trust me, C++ is not an easy language, it's pretty low level.
 

tooltiperror

Super Moderator
Reaction score
231
Well.. Not equaled to Machine Language.
But Equaled to JASS, its VERY HARD

Learn JASS, learn vJASS, learn ZINC, at that point, you should be able to understand it pretty easy.

JASS:

 function takes nothing returns nothing
     call BJDebugMsg("Hello, World!")
 endfunction


Code:
 int main ()
{
     cout<<"Hello, World!";
}
 

tooltiperror

Super Moderator
Reaction score
231
The nifty thing about JASS is that it will provide you with an understanding of programming, which can be taken to just about any language. If/Then/Else, functions, arguments, strings, variable types, and vJASS teaches OOP quite well :)

Sevion, I can't wait to see more stuff from you, I`ll make something eventually and post it....
 

Sevion

The DIY Ninja
Reaction score
413
Code:
 int main ()
{
     cout<<"Hello, World!";
}

->

Code:
#include <iostream.h>

int main(int argc, char *argv[]) {
    cout << "Hello, World!";
    return 0;
}

What do you mean by "Sevion, I can't wait to see more stuff from you, I`ll make something eventually and post it...."
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top