PDA

View Full Version : AMX Mod X 1.8.0 Released!


BAILOPAN
10-25-2007, 23:32
I am proud to announce that AMX Mod X 1.8.0 is now released! This is a huge update, adding many features and fixing plenty of bugs.

For starters, admin and map limits are now completely dynamic. Command access flags can be changed without modifying plugin code. Plugin writers can now use dynamic arrays, and have a very powerful new "Ham Sandwich" module for hooking tons of private entity functions.

Links:
>> Downloads (http://www.amxmodx.org/downloads.php)
>> Upgrading (http://wiki.alliedmods.net/Upgrading_Amx_Mod_X)
>> Changelog (http://wiki.alliedmods.net/AMX_Mod_X_1.8.0_Changes)

Plugins, as always, remain fully backwards compatible (except in one rare case for War3FT 3.0 Beta, noted in the changelog overview).

AMX Mod X 1.8.0 has been thoroughly beta tested, and has been running on over 250 servers, without complaint, for weeks. However, if you do discover a bug, please file one here (http://bugs.alliedmods.net/index.php?project=2&do=index) rather than posting in the forums.

The web compiler will be updated in one to two weeks, followed by an announcement to notify everyone.

I would like to thank sawce (http://forums.alliedmods.net/member.php?u=13800), demigod and author of most additions to AMX Mod X 1.8, as well as recent promotions to the moderation/approval team: Roach (http://forums.alliedmods.net/member.php?u=18191), Hawk552 (http://forums.alliedmods.net/member.php?u=6457), and Zenith77 (http://forums.alliedmods.net/member.php?u=6644).

vvg125
10-25-2007, 23:41
HOLY SHIT AWESOMENESS!

EDIT: On a slightly calmer and not as hyper note, very nice job with the release.

Roach
10-25-2007, 23:45
Good to see this is official now!

Arion
10-26-2007, 00:04
Nice to see this new version released.

Freecode
10-26-2007, 00:05
i love pancakes.

and amxx 1.8.0 :]

dangerix
10-26-2007, 00:53
Good work :)

Alka
10-26-2007, 01:00
Good to see this is official now!

aligind4h0us3
10-26-2007, 01:05
Very nice, thanks for the continued hard work.

FatalisDK
10-26-2007, 01:10
New AMXX and crysis demo on same day. Wootz?

jas0n
10-26-2007, 02:52
Great!!!!!! Thank you!

-hi-
10-26-2007, 05:17
I can't load nVault on my linux server; anyone else confirm?

Arkshine
10-26-2007, 05:23
Good Job.

@-hi- : It works fine for me but a friend has the same problem than you. (using nvault module from amxx 1.76d works for him )

ConnorMcLeod
10-26-2007, 06:36
Good Job.

Nice Job. :)

Pro Patria Finland
10-26-2007, 07:02
The best part really is the HamSandwich module.

Nice to see a new stable version. :)

M249-M4A1
10-26-2007, 07:29
Awesome! It's about time!

SeToY
10-26-2007, 07:36
The best part really is the HamSandwich module.


i searched the whole forum, but i dont found anything about this Module... What is it for? Oo

NsHO
10-26-2007, 07:38
I think Amxmodx 1.8 has some error from cstrike_amxx.dll modules

Alka
10-26-2007, 07:47
i searched the whole forum, but i dont found anything about this Module... What is it for? Oo
What? o_O... did you read the changelogs ? omg...


Ham Sandwich
Ham Sandwich is a very powerful module by sawce (http://wiki.alliedmods.net/User:Sawce) which can hook and call virtual CBaseEntity functions on a variety of mods. For more information, see the hamsandwich.inc (http://svn.alliedmods.net/viewvc.cgi/trunk/plugins/include/hamsandwich.inc?root=amxmodx&view=log) file.

TheLinxSWE
10-26-2007, 08:18
OH THIS IS SO GOOD. Gratz on the release.

NiLuJe
10-26-2007, 09:15
Great work, thanks! ;)

dall
10-26-2007, 10:04
Cool!

The Wizard
10-26-2007, 10:45
i have this problem when i use amxx installer
http://img207.**************/img207/913/441gc7.th.jpg (http://img207.**************/my.php?image=441gc7.jpg)
what should i do?

BAILOPAN
10-26-2007, 11:03
File a bug report.

P34nut
10-26-2007, 11:34
yay Its finnaly released!

Brad
10-26-2007, 11:42
Good job! Nicety Sawce, nicety!

TheNewt
10-26-2007, 12:06
Woohoo!! Thank you to everyone on the dev team, you are awshum. :)

Podunk
10-26-2007, 12:30
http://bugs.alliedmods.net/index.php?do=details&task_id=281
Wasn't mentioned in the changelog :cry:

other than that, :up:

XDementorX
10-26-2007, 14:45
YES! AWESOME!! Great work guys can't wait to try this out. :up:

Zenith77
10-26-2007, 15:07
Great job, lot's of sexy new coding features. Can't wait to use them.

RPG
10-26-2007, 16:35
Nice nice nice, thanks thanks thanks!
Waiting along for this update.
Good job team.

JayHaxor
10-26-2007, 16:41
Koolio, works great =D

diamond-optic
10-26-2007, 19:45
great work.. changelog looks awesome

cant wait to get this up and running :)

QuakerOates
10-27-2007, 03:14
Gj

KWo
10-27-2007, 03:31
Just a question to Bailopan - from that what I can see - it seems You are too much busy to work on AMX X, so the main work on 1.8.0 version sawce did. The question is - are You going to extend some of AMX X features in some future version of AMX X or You rather think only about bug-fixes version (if they will exist in 1.8.0)? The question is related to some features they were promised long time ago (http://bugs.alliedmods.net/index.php?do=details&task_id=28), but You are still too much busy to work on them.
Is possible 1.8.0 is one of the latest version of AMX X, because the main goal for You will be developing SourceMod and for AMX X there is no time (or maybe even the motivation)?

Anyaway thanks to sawce for making 1.8.0.

James
10-27-2007, 05:54
Nice, good job. I have one question: Per-Map Features prefix_de.cfg is overriden by maps cfg, like de_nuke.cfg right?

BigBaller
10-27-2007, 06:34
Nice, good job. I have one question: Per-Map Features prefix_de.cfg is overriden by maps cfg, like de_nuke.cfg right?

I think they will work in tandem if you configure them right, because as I believe the map config is loaded before the prefix config, however this may not be the case.

To be safe I would define specific CVARs in de_nuke.cfg and not place the same ones in the prefix_de.cfg

James
10-27-2007, 07:09
I think will be situation, when I set CVARS for (example) all de_ maps, but for certain de_ maps i will need some special setup...

BigBaller
10-27-2007, 07:25
public delayed_load()
{
new configFile[128], curMap[64], configDir[128]

get_configsdir(configDir, sizeof(configDir)-1)
get_mapname(curMap, sizeof(curMap)-1)

new i=0;

while (curMap[i] != '_' && curMap[i++] != '^0') {/*do nothing*/}

if (curMap[i]=='_')
{
// this map has a prefix
curMap[i]='^0';
formatex(configFile, sizeof(configFile)-1, "%s/maps/prefix_%s.cfg", configDir, curMap);

if (file_exists(configFile))
{
server_cmd("exec %s", configFile);
}
}

get_mapname(curMap, sizeof(curMap)-1)


formatex(configFile, sizeof(configFile)-1, "%s/maps/%s.cfg", configDir, curMap)

if (file_exists(configFile))
{
server_cmd("exec %s", configFile)
}

}

Going by what the admin.sma the code suggests that all prefix based configs are loaded before a map specific configuration.

So I would guess that if you make a map prefix config for de maps then creating a de_nuke configuration would override the prefix config in a matter of seconds later.

To test I would try using mp_timelimit ... set your server config to like 20 minutes. make a prefix_de.cfg and set it to 35 then make a de_nuke.cfg set it to 27 or something in the middle. If you have HLSW then you can most likely watch the changes just by monitoring the server, otherwise you'd have to look in the logs to see if it changed.

Alternatively you could use the log_amx scripting function of AMXX. This would make a lot easier to do cause then you dont have to try the test I mentioned above, and easier to read in the amxx logs.

public delayed_load()
{
new configFile[128], curMap[64], configDir[128]

get_configsdir(configDir, sizeof(configDir)-1)
get_mapname(curMap, sizeof(curMap)-1)

new i=0;

while (curMap[i] != '_' && curMap[i++] != '^0') {/*do nothing*/}

if (curMap[i]=='_')
{
// this map has a prefix
curMap[i]='^0';
formatex(configFile, sizeof(configFile)-1, "%s/maps/prefix_%s.cfg", configDir, curMap);

if (file_exists(configFile))
{
server_cmd("exec %s", configFile);
log_amx("Prefix based configuration file loaded. File is %s", configFile); // Prefix configuration loaded and logged.
}
}

get_mapname(curMap, sizeof(curMap)-1)


formatex(configFile, sizeof(configFile)-1, "%s/maps/%s.cfg", configDir, curMap)

if (file_exists(configFile))
{
server_cmd("exec %s", configFile)
log_amx("Map based configuration file loaded. File is %s", configFile); // Map configuration loaded and logged.
}

}

Edit

And here is your answer
L 10/27/2007 - 06:32:39: -------- Mapchange to fy_snow --------
L 10/27/2007 - 06:32:45: [admin.amxx] Prefix based configuration file loaded. File is addons/amxmodx/configs/maps/prefix_fy.cfg
L 10/27/2007 - 06:32:45: [admin.amxx] Map based configuration file loaded. File is addons/amxmodx/configs/maps/fy_snow.cfg

But what would be the case for plugin based configurations if the Devs could answer that one?

BAILOPAN
10-27-2007, 12:31
We will not be handling any bug reports through the forums. Please post in the bug tracker.

Prefixed map plugin files are not superseded by anything; prefix-de would be loaded after de_nuke.

vittu
10-27-2007, 12:55
Was this overlooked: stock const AMXX_VERSION_STR[] = "1.8.0.3660";
or are you keeping that svn form now?

RaYden
10-27-2007, 14:58
Yeeeee congratz on the release :) keep'em coming

BAILOPAN
10-28-2007, 13:23
Was this overlooked: stock const AMXX_VERSION_STR[] = "1.8.0.3660";
or are you keeping that svn form now?

I'm not sure I understand the question -- but indeed, that is a revision number from SVN.

lucKy
10-28-2007, 15:06
Many thanks to the AMX Mod X 1.8.0 Team for all their hard work making our servers better. :)

vittu
10-28-2007, 20:45
I'm not sure I understand the question -- but indeed, that is a revision number from SVN.Meaning amxmodx 1.80 was released with the svn includes and is using that as the string version 1.8.0.3660. (Was it overlooked ie was it supposed to be released as just 1.80...)

commonbullet
10-28-2007, 21:36
Nice job!

BAILOPAN
10-28-2007, 22:29
vittu: with this release we've moved all our projects onto a more sane versioning scheme, that is, major.minor.maintenance.build. The old one was just plain silly.

So, it's 1.8.0, not 1.80, and the revision number is there for completeness (it's easier to keep it in because it makes more sense against nightly builds).

If I could go back in time and change 1.76c to, for example, 1.7.9, then I would :|

jopmako
10-28-2007, 22:37
Thank you!

BigBaller
10-28-2007, 22:45
I personally like the build number in the version. Makes things look sexy. Not to mention its easy to figure out if people are using "release" and/or "svn" versions of AMXX when trouble shooting.

James
10-29-2007, 03:21
I personally like the build number in the version. Makes things look sexy. Not to mention its easy to figure out if people are using "release" and/or "svn" versions of AMXX when trouble shooting.
I agree with this :up:

megaownage
10-29-2007, 07:58
By the way if it helps, I am willing to help out and use my server as a guinea pig, pm me.

Roach
10-29-2007, 12:34
Guys this isnt a support thread...this is a release thread. Support threads go in General AMXx Support / Help below.

If you are having major issues with the release and you think it is a bug in the release that was missed in the public beta test, file a bug report using the bug tracker link on the front page.

Brad
10-30-2007, 09:21
If I could go back in time and change 1.76c to, for example, 1.7.9, then I would :|

My "Gnomish Time Warp" machine is near completion. I'll sell it to you for 128g. That's a bargain!

vvg125
10-30-2007, 14:01
My "Gnomish Time Warp" machine is near completion. I'll sell it to you for 128g. That's a bargain!

:O

I SMELL ALLIANCE! KILLIT.

Podunk
10-30-2007, 15:07
It seems faster, is it my imagination?

Alka
11-06-2007, 00:13
Omg, this is not a support/help thread. For that search for support thread and post there! :s

*Call for a mod*

Vasca
11-12-2007, 10:50
very good !

C'MON
11-17-2007, 07:31
I love Amx ;)

vvg125
11-17-2007, 11:28
I love Amx ;)

Hope you meant AmxX.

Darth Sailor
11-22-2007, 12:31
I've been using AMX Mod X for years on my HL1 based server. Love it. I've just put up a Team Fortress 2 server and I also have a Counter-Strike:Source server. Here's a stupid question but I can't seem to see it mentioned anywhere. Will AMX Mod X work on my Source based servers?

vittu
11-22-2007, 12:47
I've been using AMX Mod X for years on my HL1 based server. Love it. I've just put up a Team Fortress 2 server and I also have a Counter-Strike:Source server. Here's a stupid question but I can't seem to see it mentioned anywhere. Will AMX Mod X work on my Source based servers?No amxmodx is HL 1 mods only, you need Metamod:Source and SourceMod - http://wiki.alliedmods.net/Installing_SourceMod
http://www.sourcemm.net/
http://www.sourcemod.net/

Darth Sailor
11-22-2007, 16:11
Thanks Vittu. I like the way Source Mod looks, and they seem to be on top of it. I'm going to try that one first. Much appreciated!

BAILOPAN
11-22-2007, 23:20
They == us

aligind4h0us3
11-23-2007, 19:31
The web compiler will be updated in one to two weeks, followed by an announcement to notify everyone.

Been 1 month, has it been updated yet or did I miss something?

BAILOPAN
11-24-2007, 10:40
It has not.

RaYden
11-29-2007, 13:08
well me luv amxx-studio more then the web complier ... i hope that it has not been dropped

See update on amxx-studio me wans to, yesssss - *No rush tho
Hmmm, Buy a xBox must I for Assassins Creed
And
May the force guide "They == us", to release further updates to this wander full mod

YamiKaitou
11-29-2007, 23:44
Um, just an fyi, Amxx-Studio has been dropped. Now it is called PawnStudio

vvg125
11-29-2007, 23:47
Um, just an fyi, Amxx-Studio has been dropped. Now it is called PawnStudio

Though it's still not officially released. ;)

purple_pixie
11-30-2007, 10:21
Is it likely to contain ctrl+tab / ctrl+1 / ctrl+F4 et c. standard tab-related shortucts ?
(switch to next tab, to first tab, close tab, repsectively)

And might Ctrl+Z just possibly be scoped to the particular tab you have open?

EDIT VV : Good call. I'll PM you.

vvg125
11-30-2007, 10:38
Is it likely to contain ctrl+tab / ctrl+1 / ctrl+F4 et c. standard tab-related shortucts ?
(switch to next tab, to first tab, close tab, repsectively)

Let's not turn this into a thread about PStudio. I'd answer your questions if I fully understood what you wanted to know.

Nekso
12-02-2007, 02:27
The web compiler will be updated in one to two weeks, followed by an announcement to notify everyone.
Web Compiler still not updated? or is just me that is having problems with it?

Besides the WebCompiler, any other way I can compile a plugin?
if yes, explain please :)

KWo
12-02-2007, 04:31
You can compile any plugin always locally. I have explained it about 10 times at the forum. Look for example here (it's example concerning to CSDM, but the way of compiling plugins locally is the same):
http://forums.alliedmods.net/showpost.php?p=523492&postcount=2
or that one - maybe even a better example - concerning to my mapchooser4 plugin:
http://forums.alliedmods.net/showpost.php?p=548444&postcount=126

philli
12-06-2007, 00:37
okay,

after i upgraded to this version (not sure if it has anything to do with the new amx)..my server was hacked, and random ppl can add themselves onto the amxmod user.ini. This has become a big problemm! Is there some kind of amx backdoor??????

i couldnt post anyhwere else since im restricted to making a new post. This is why i posted in here.

*No its not my admins
*Rcon was changed and is very complicated to figure out
*No spy ware stuff on my comp
*No logs on any comp, im the only perosn that uses my comp.

BAILOPAN
12-06-2007, 08:03
There is no backdoor unless you created one (for example, by changing access levels in cmdaccess.ini). I suggest reinstalling your configuration files from scratch.

If you can't make new posts it means you did not activate your account.

philli
12-06-2007, 12:14
There is no backdoor unless you created one (for example, by changing access levels in cmdaccess.ini). I suggest reinstalling your configuration files from scratch.

If you can't make new posts it means you did not activate your account.
oh wow, this sounds like it would help. Im really new to amx, but can get by how things work when looking at the actual files. I edited the cmdacess.ini , deleted amx_addadmin line so it cant be used. that will work yea?

reyi
12-15-2007, 04:00
The version does not work for server cs 1.5 :( or am I doing something wrong? :(

Mordekay
12-15-2007, 05:00
The version does not work for server cs 1.5 :( or am I doing something wrong? :(

Yes, 2 things:
You are using 1.5
and:
All other gameversions than the actual steam versions of the game are NOT supported.

kingmomo
12-17-2007, 02:49
what does the new version make it new whit ????

vvg125
12-17-2007, 03:06
Read the change log.

[Sm0k3rZ]ST@TiC***X***
12-24-2007, 00:31
I really LIke Amx MOd x 1.8.0


Much better and bug free than 1.76d


[Sm0k3rZ]ST@TiC***X***

hoboman
01-25-2008, 14:53
The web compiler will be updated in one to two weeks, followed by an announcement to notify everyone.

lol

Roach
01-25-2008, 17:25
lol

Oh cut him some slack, he has been very busy....

It is lolsome though.

gyunter
01-31-2008, 04:44
Awesome !

Igniuks
03-04-2008, 12:02
Sorry to ask here but, I use this with my cs, it doesn't work, other versions fine but this doesn't work.

YamiKaitou
03-04-2008, 12:04
If this doesn't work for you, then you are doing something incorrectly or you do not have your Steam server up-to-date. This isn't the place to be asking for support with it

pogsnet
04-05-2008, 08:02
This is better so far as I have tested

hazard1337
04-10-2008, 18:35
I know its a little out dated but: Cool! 1.8!


Now get started on 1.9 for even MORE! ;P

Ejziponken
04-19-2008, 11:27
Im using AMXMODX v1.8.0.3660
But there is an AMXMODX v1.8.1.3679 out, what changes are made? where can i read a changelogg? :/

YamiKaitou
04-19-2008, 11:36
1.8.1.3679 is a beta build for 1.8.1. It is not really out officially yet

Ejziponken
04-19-2008, 12:23
1.8.1.3679 is a beta build for 1.8.1. It is not really out officially yet

So wich should i use? My server is crashing on mapchange, or all 4 is..

EnymiZer
05-04-2008, 19:08
How can i find out wich version of amx i am running? So i can upgrade! :)

YamiKaitou
05-04-2008, 19:25
rcon amxx version

AcidoX
06-19-2008, 13:56
Hi, i have 7 servers, 3 off them are runing on 1.8.0 amxx, and using verry high CPU usage, can anybody help?
Modules.ini:
;fun
;engine
fakemeta
sockets
nvault
cstrike
;csx
;mysql

KANE-EX
06-19-2008, 22:30
This version amx mod 1.8 not support Zbot and Csbot ????? please update yes thanks.

vittu
06-19-2008, 23:18
This version amx mod 1.8 not support Zbot and Csbot ????? please update yes thanks.
zBot never has and never will be support since it is illegal:
http://forums.alliedmods.net/showthread.php?t=46031&highlight=zbot

If you are having a problem with cz and csbot this is not the section for tech support. Post here and explain the problem you are having.
http://forums.alliedmods.net/forumdisplay.php?f=7

AcidoX
06-20-2008, 06:59
Well? Anybody anwser my question, thanks.

Mordekay
06-20-2008, 08:16
Well? Anybody anwser my question, thanks.

Maybe you should read vittu's last post once more. It was not for you originally, but it is the same for you.

Kefirs666
06-21-2008, 23:01
I love v1.80, but many plugins & anticheats, like Reallite HL Guard doesn't work for new version!
So I'm waiting for HL Guard which will be compatible with new version of AMXX and hoping that some day Bailopan will create AMXX v2.0 :)

KANE-EX
07-13-2008, 01:54
But do not get the double kill, kill nor double sound and hud. Help!
"stacks" amx mod in the folder Config. AMX MOD 1.8

;Generated by Stats Configuration Plugin. Do not modify!
;Variable Description
PlayerName ;ST_PLAYER_NAME
KillerChat ;ST_SHOW_KILLER_CHAT
ShowAttackers ;ST_SHOW_ATTACKERS
ShowVictims ;ST_SHOW_VICTIMS
ShowKiller ;ST_SHOW_KILLER
ShowTeamScore ;ST_SHOW_TEAM_SCORE
ShowTotalStats ;ST_SHOW_TOTAL_STATS
ShowBestScore ;ST_SHOW_BEST_SCORE
ShowMostDisruptive ;ST_SHOW_MOST_DISRUPTIVE
ShowStats ;ST_SHOW_HUD_STATS_DEF
ShowDistHS ;ST_SHOW_DIST_HS_HUD
EndPlayer ;ST_STATS_PLAYER_MAP_END
EndTop15 ;ST_STATS_TOP15_MAP_END
SayHP ;ST_SAY_HP
SayStatsMe ;ST_SAY_STATSME
SayRankStats ;ST_SAY_RANKSTATS
SayMe ;ST_SAY_ME
SayRank ;ST_SAY_RANK
SayReport ;ST_SAY_REPORT
SayScore ;ST_SAY_SCORE
SayTop15 ;ST_SAY_TOP15
SayStatsAll ;ST_SAY_STATS
SpecRankInfo ;ST_SPEC_RANK
MultiKill ;ST_MULTI_KILL
MultiKillSound ;ST_MULTI_KILL_SOUND
BombPlanting ;ST_BOMB_PLANTING
BombDefusing ;ST_BOMB_DEFUSING
BombPlanted ;ST_BOMB_PLANTED
BombDefused ;ST_BOMB_DEF_SUCC
BombFailed ;ST_BOMB_DEF_FAIL
BombPickUp ;ST_BOMB_PICKUP
BombDrop ;ST_BOMB_DROP
BombCountHUD ;ST_BOMB_CD_HUD
BombCountVoice ;ST_BOMB_CD_VOICE
BombCountDef ;ST_BOMB_CD_DEF
BombReached ;ST_BOMB_SITE
ItalyBonusKill ;ST_ITALY_BONUS
LastMan ;ST_LAST_MAN
LastManSound ;ST_LAST_MAN_SOUND
KnifeKill ;ST_KNIFE_KILL
KnifeKillSound ;ST_KNIFE_KILL_SOUND
GrenadeKill ;ST_HE_KILL
GrenadeSuicide ;ST_HE_SUICIDE
HeadShotKill ;ST_HS_KILL
HeadShotKillSound ;ST_HS_KILL_SOUND
RoundCounter ;ST_ROUND_CNT
RoundCounterSound ;ST_ROUND_CNT_SOUND
KillingStreak ;ST_KILL_STR
KillingStreakSound ;ST_KILL_STR_SOUND
KillingStreakChat ;ST_KILL_STR_CHAT
KillingStreakHUD ;ST_KILL_STR_HUD
KillingStreakEndHUD ;ST_KILL_STR_END
KillingStreakSay ;ST_KILL_STR_SAY
EnemyRemaining ;ST_ENEMY_REM
DoubleKill ;ST_DOUBLE_KILL ----------- NO Work????????
DoubleKillSound ;ST_DOUBLE_KILL_SOUND ---------- NO Work????
FirstBloodSound ;ST_FIRST_BLOOD_SOUND
FallKill ;ST_FALL_KILL
Suicide ;ST_SUICIDE
WaterKill ;ST_WATER_KILL
WallShot ;ST_WALL_SHOT

But do not get the double kill, kill nor double sound and message hud.
Everything works, but not the sound Double kill, double kill message, you could help me. Thanks.

JFeldon
07-16-2008, 15:07
Shouldn't all these questions be posted in the other board...?

Also 1.8 is probably the best version so far. Yeah I say that at every new one but it really is good :D Nice work

Silaims
07-31-2008, 16:01
Hi :)
Beside me to you question: when making variable "new Integer" there maximum 32 bits, can do 40 bits? To was such range from 0 before 9999999999.

Help, me much it is necessary such range. :cry:

BAILOPAN
08-02-2008, 00:43
Nope. You can do 64-bit arithmetic by using two variables though (32-bit low and 32-bit high).

Silaims
08-02-2008, 12:51
Nope. You can do 64-bit arithmetic by using two variables though (32-bit low and 32-bit high).
Please write me code for 64-bit.