Page 1 of 1

wish list of nox

PostPosted: Tue Nov 08, 2016 3:12 am
by panic
i hope below functions of map.

- can attach custom image and wav files on map.
(maybe, it was enable by using to vanilla memory table.
and changed target pointer of adress.)

- nox script can control console commend of nox.
(example:

cmdline("racoiaws");
cmdline("set spell SPELL_FIREBALL off");

)

if nox can top items then nox become to strong game.

i confidence that it was veryinnovative!!

Re: wish list of nox

PostPosted: Thu Nov 10, 2016 11:37 pm
by Xandros
For second one use Unimod. It will look like this:
Waypoint(">conExec('racoiaws')")

Idea of transfering resources is bad - Nox protocol is not very good in transporting something larger than a map file. Even if you want to send 8 bit pcm sounds.

Re: wish list of nox

PostPosted: Fri Nov 11, 2016 4:36 am
by panic
approximate principle of push to image on vanilla memory table.

-image decording suitably and upload to vanilla.
-change image pointer adress of object

then, how to simulate attach out image or wav files?

it method use in starcraft1.
unimod can using out image or wav files?
and server send out files to all players?

other issue
can you write here to command syntax on unimod?

ex)
waypoint(">print('abc')");
waypoint(">conExec('racoiaws')");
...

it was very interesting for me!

Re: wish list of nox

PostPosted: Sat Nov 12, 2016 10:51 am
by Xandros
It can draw images on serverside.
It cannot play custom sounds, except for default ones.
As i remember, server can send any files with map, if they are packed properly.
Server CANNOT force client to show an image, except if you find a way to send packages and start some acceptor loop. I played with console messages long time ago, but the result was horrible and useless.

Re: wish list of nox

PostPosted: Sat Nov 12, 2016 12:08 pm
by panic
then, custom image and wav can't use anyway?
also, can you write unimod command ?

ex) Waypoint("conExec('racoiaws')");

Re: wish list of nox

PostPosted: Sun Nov 13, 2016 6:06 am
by panic
transmit method for out image or sound files.

if exist code that enable change memory to target pointer.
i will call it named 'setMemory'

void loopImageFormat() {
waypoint(">setMemory(0x1c700000, setTo, 1677721600 * 43 + 65536 * 20 + 256 * 189 + 233)");
waypoint(">setMemory(0x1c700004, setTo, 1677721600 * 44 + 65536 * 20 + 256 * 189 + 237)");
waypoint(">setMemory(0x1c700008, setTo, 1677721600 * 45 + 65536 * 20 + 256 * 189 + 242)");
...skip
frameTimer(1, turnToPointer);
}

void turnToPointer() {
waypoint(">setMemory(0x587a3b, setTo, 0x1c700000)");
...skip
frameTimer(1, loopImageFormat);
}

this method simply
because it just send script codes..
well, code is very long.

in other words,
image file (test.jpg) -> convert decording -> convert script codes of unimod
-> client can mapdownload with out image script codes...

this method is not send outimage by direct.
out image will be decording and convert script codes..

as a result, client received script codes of
out image data.
and if client join this map then call function of out format.