Hi Rappy
Actually You dont need to download file, you can use dotNet to read files remotely.
try (
(dotNetObject “System.Net.WebClient”).downloadString “ http://www.mirvadim.com/file.txt ”) catch ()
try to evaluate this code.
Also You dont need to reboot max after script was updated.
First of all You should close (destroydialog) script if it is open, then use this
filein “C:\somescript.mse”
and after that launch it again.
And thanks for this thread, it is nice idea to make automatic update system for scripts.
I have seen this thread few hours ago and for that moment already implemented this system into next RayFire Tool version.
Good luck.
nice to hear that mir-vadim…
i finished the autoupdate for my script
here’s the script http://313designstudio.com/rappatools/RappaTools.mzp … maxscript > run the mzp and install it
back !
got one question…:
how to do a loop preview script ?
what i want it to do is if i enable loop preview then when i select and edge,2verts,2poly’s it will loop the edge… but ! it won’t add the edges that wore loop to the selection, it will highlight them so u can see the loop, and if u want u can spin the edge…so how can i do that ? a callback when u change the selection, a function that will verifi the selection if correct then loop but how do i make the edges highlighted and not selected ?
thanks in advanced,
Juncu ‘RappyBMX’ Remus
hi, it’s me again :|…
-
How can i set the script error to be silent. i mean when an error happens don’t display it and don’t crash the script so the user has to reaload the script ?
-
How can i find the allgorithm that has been used to get from this 574470992 to 140547561 or something like that ?
-
How can i connect to mysql database stored on my web server, then check if it has the the current hardwarelockid if not stop the script… and how to add to the database a hardwarelockid and a username for it… so if the hardwarelockid is added to the database with a user name it will say Hi (username) when u open the script (i checked the thread that’s here about mysql but the script’s that have been posted there don’t work )
that’s all for the moment, thanks in advanced,
Remus ‘RappyBMX’ Juncu
- How can i set the script error to be silent. i mean when an error happens don’t display it and don’t crash the script so the user has to reaload the script ?
Look up try expression in the help docs, this is actually a common concept in most programming languages…
- How can i find the allgorithm that has been used to get from this 574470992 to 140547561 or something like that ?
Are you talking about hashing?? Cause otherwise I have no idea what you are talking about. If you are talking about hashing, in most cases they are one way, so you can not reverse the process, good for encryption…
.net probably provides some kind of hashing algorithm…
- How can i connect to mysql database stored on my web server, then check if it has the the current hardwarelockid if not stop the script… and how to add to the database a hardwarelockid and a username for it… so if the hardwarelockid is added to the database with a user name it will say Hi (username) when u open the script (i checked the thread that’s here about mysql but the script’s that have been posted there don’t work )
This is a complex question. How good is your SQL?? Are you intending to use .net, a plugin, python or some other COM solution to access the database??
Connecting to the database is easy enough, look up the connection settings for the particular method of choice…
You can get the user name via the System Information interface, but that will only tell you who is logged in. You are better off getting the user name when you register the hardware id and reporting that information back…but that’s me…
Be warned, many people have firewalls and strict access controls on there systems and generally do not like having applications or code access the outside world (especially when they are paying for the connection). If you want to protect you scripts you could look into using usb dongles instead, espically if you are providing multiple user licenses, much less intrusive…
Shane
RappyBMX, I have a question about your tools, why are all of them encrypted, you state u have used scripts from others in your tool, which where probably freely available… I always wonder about the motivation to encrypt, especially when it’s released as freeware, you could easily release under some GNU or MIT license…
Others will benefit from the free access to the source, that’s how I learn my mxs, and most other too I think.
Don’t get me wrong, it’s your script, but I still wonder why the encryption…
-Johan
Well since the script’s that i used are free other people can get them and do the same thing ! I’m not a script-er I just do this for fun and to make my 3ds max work with me the way I want it to, first i wanted to make this script just for me and some of my friends + the people that I chat with on yahoo messenger but after that I decided to make it available for other people… until now i just got two feedback’s about the script since I made it public !!! so what’s the point in making the source available… nobody asked me nothing about the source of the script guess they don’t need it… so that’s why i will keep it encrypted…
Remus ‘RappyBMX’ Juncu