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
964
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.
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1

      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