ModuleSystem Command Database (WIP)

Users who are viewing this thread

Swyter said:
hehe. I can help you with Ubuntu and some web stuff tips if you want.  :smile:
Sorry for the reinstall and all the crap.
Don't fret it, I've been meaning to install Ubuntu anyways.  (I got it installed, I just need to set up remote shell access.)
 
Bolkonsky said:
Don't fret it, I've been meaning to install Ubuntu anyways.  (I got it installed, I just need to set up remote shell access.)
Code:
sudo su
apt-get install ssh apache2 php5 mysql-common mysql-client mysql-server
a2enmod                               /* For configuring the Apache modules */
gedit /etc/ssh/sshd_config    /* For optional SSH customization */
That's it, in a single line.

For administering I usually install Webmin with the Stressfree theme. Simply sweet.
 
Mammoet said:
Is this still alive? Would really help me out a lot!

hehe... Thanks to Jerkuh, Jezze and the OLL Clan now we've moved over here. My statistics says it's still being widely used by advanced modders.

Code:
http://mbcommands.ollclan.eu/
I use it myself.

And here's the current thread that I've been used since Theoris left.
Code:
http://forums.taleworlds.com/index.php/topic,161847.0.html

You can find everything into the Modding references topic (this, the Wiki and the IRC link), pinned at the top of the Forge.

If you've suggestions let me know. I work on it from time to time. But is mostly unattended.
Enjoy  :smile:
 
Swyter said:
Specialist said:
Page is down. :sad:

Not all all :smile:

Code:
http://www.downforeveryoneorjustme.com/mbcommands.ollclan.eu


Forget the old domain, we're now on:
Code:
www.mbcommands.ollclan.eu

lol? the downforeveryoneorjustme link says its down :p but it's not for me  :lol:
 
I would assume so, shoot Wolf, they shouldn't start with anything like "Oh this dirtbag asked a question on here... REPORT HIM!!!!!" :wink:
 
Righto then :wink:

Does '(mouse_get_position,position_no),' get the position your facing only or the position on the map that your pointer is aimed at?

Wolf.
 
I do not know the working of that command, but what i know for sure is that the position your facing on the map is another command.
 
wolfstar97 said:
Does '(mouse_get_position,position_no),' get the position your facing only or the position on the map that your pointer is aimed at?

That operation fills the X and Y of the selected position slot with the current mouse coordinates respect to the left-down corner of the screen:

Code:
[b]Pseudocode:[/b]

-> init pos64:
[color=maroon]pos64 = {X=0, Y=0, Z=0}[/color]

-> get mouse position:
[color=maroon]pos64 = {X=37, Y=24, Z=0}[/color]

-> put the current Y position of the mouse cursor into a variable register:
[color=maroon]$verticalmouse = pos64.Y[/color]

-> if mouse is on the very bottom of the screen then returns true:
[color=maroon]if $verticalmouse <= 1 then
  return pretty cool stuff
end[/color]


[b]-Translated into the ModuleSystem Syntax, this could be:[/b]

[color=navy]		(init_position,pos64),[/color] # This is purely optional, but illustrative for our purposes :)
[color=navy]		(mouse_get_position, pos64), [color=black]# pos64 now contains X and Y.[/color]
		(position_get_y,":y",pos64), [color=black]# We get the Y, the vertical part of the mouse coordinates.[/color]
		(le,":y",1), [color=black]# the subsequent operations will only be executed if the vertical position is less or equal to 1.[/color]
		<[color=black]... pretty cool stuff to do if conditions are met[/color]>[/color]
 
Back
Top Bottom