Jump to content
Alloder.pro: about Allods with love
Search In
  • More options...
Find results that contain...
Find results in...

New program for writers

We turn from quantity to quality and tell you how we will supplement the Allods Team program with rewards in rubles.

More

The new Updater

Let us to introduce the new addon updater software and to share the details

Read more

Alloder 2.0

We have started the process of project evolve, and this relates not only, and not even primarily of the site's view

Read more

Code execution environment. Wicked crazy idea.


Setras
 Share

Recommended Posts

I have had a freaking INSANE idea.

We can have an addon than will do nothing but store an execute any code.

And we could use external stuff (like guild chat, bulletin boards etc etc) to provide input to the addon.

And store code in config file (when character loggs off).

So basically we can have ONE never updated and never outdated addon that will update itself via guild chat or bulletin boards.

Just imagine - we can even make self-replicating systems by using peer-to-peer-like transfer.

You could update the program code, log in, seed that code to 5-10 people (or to 100-200 via automated bulletin board system) and it will replicate itself many many times and everybody will have the actual current script file.

Someone loggs-of, but there still is someone logged in, and he will replicate the code to every one who loggs in later.

And we can, like, use a library with standart textures and buttons/panels etc, and create any form of wisget using this library. Like "Windows API" but for allods. Many standartised add-ons.

But the wicked crazyness of the idea is that it can self-replicate without player interaction.

Like you see a message "your addon has been updated to version X.Y.Z, you can read the changelog by pressing the "Log" buttton".

Of course executing /ANY/ code is extremeley dangerous, so it is possible to use only certain list of characters for code replication, and use all other people for, like, data-replication etc etc.

I don't currently know which data can be /USEFULLY/ replicated, but any loggable data can be.

From my expirience (since the /UPDATE/ to AO multicore processor productivity BROKE my AO on my win 2K8R2 server) we don't need to host a separate guild-bot chatacter to stand somewhere 24/7 and re-set it after each AO error or disconnect, it's now (and was before, but i didnt get that idea earlier) possible to use an add-on that will replicate guild info through officers without their notice and interaction. Like someone uses an officer command "!addnews Saturday evening we will go to DC, raid 1, 20:00 GMT", and gets this into newslist, and after any other officer loggs in he gets this data into his bot too, so after first disconnects the second still acts as a guildbot renewing guild news.

The brilliant part is that i don't need to restart bots after they disconnect, because now it always works if there is at least one officer online!!!!

Link to comment
Share on other sites

1) Only guild oficers have access to way guild data is transmitted. I hope you don't have idiot officers in your guild.

2) As for bulletin boards, no protection for "torrent-like" system, but it is possible to update the code only by getting it from certain characters on your realm (it makes self-replicating much slower if these characters don't cover much of gametime, like play only 1-2 hours per day).

3) It is possible to forbid the use of sone functions. Get code, check it for "safety", all clear? Update it. Something wrong? Screw it (and "ban" the sender, replicate the banlist xD we may accept the code just from 47 lvl characters, for example).

Before execution we may check the code on functions like "drop item" etc etc.

Well yeah, it reminds me about polymorphic viruses, so the ONLY safe way is to get code from trusted sources, which will be predefined.

But we can use public networks to transfer data.

I think i may make something funny in a week or two.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

By using our site you agree to the Terms of Use