Author Topic: Heedicalking's Generic RPG Mod  (Read 10425 times)

Perhaps, I fear that if I release it the mod will turn in to another "CityRP" though.

Nice! Now mine seems obsolete D: I suck at guis though.

Yea, I don't like to make Gui's either.

are those special bricks or are there farm events.

A special brick. Under a new brick tab, along with the rest of my Roleplay Interactive items. 

I fear we all appear to be working on the same thing at the same time.




A trait we all share, apparently: dislike of GUIs.
In any case we should get together for tea and throw code around.

Indeed.

Edit: I'm surprised you've managed to work on one mod for many version's, without getting bored that is.
« Last Edit: December 13, 2009, 03:07:05 PM by Desolation »

For example:
http://www.mediafire.com/file/mnvnjtzttnd/Client_lister.zip
http://www.mediafire.com/file/zyekre23yzz/Server_lister.zip


Code: [Select]
//statusbar serverside

function servercmdSendStatusData(%client){
%i=0;
while(%i<$stcount){
%data = %data @ $stname[%i] @ ":" @ stvarget(%client,%i) @ "|";
%i++;
}
%client.hasgui=1;
commandtoclient(%client,'ReStatusData',%data);
}
function servercmdUpStatusData(%client){
commandtoclient(%client,'UpStatusData');
}

Code: [Select]
//status bar mappings
if(!$stmaps){
$stname[0]="Hp";
$stcount++;
$stname[1]="Xp";
$stcount++;
$stname[2]="Lv";
$stcount++;
$stname[3]="Caps";
$stcount++;
$stname[4]="StatP";
$stcount++;
$stname[5]="SkillP";
$stcount++;
$stname[6]="TotalXp";
$stcount++;
$stmaps=1;
}

function stvarget(%client,%i){
if(%i==0){
return stvar0(%client);
}
if(%i==1){
return stvar1(%client);
}
if(%i==2){
return stvar2(%client);
}
if(%i==3){
return stvar3(%client);
}
if(%i==4){
return stvar4(%client);
}
if(%i==5){
return stvar5(%client);
}
if(%i==6){
return stvar6(%client);
}
}
function stvar0(%client){
return getability(%client,"health") @ "/" @ getability(%client,"maxhealth");
}
function stvar1(%client){
return getability(%client,"exp") @ "/" @ getability(%client,"expneed");
}
function stvar2(%client){
return getability(%client,"level");
}
function stvar3(%client){
return getresource(%client,"caps");
}
function stvar4(%client){
return getability(%client,"statpoints");
}
function stvar5(%client){
return getability(%client,"skillpoints");
}
function stvar6(%client){
return getability(%client,"totalexp");
}




Basically the life blood of my system. I route all of the items through Lister which gives each one a different entry and etc. Same with stats, skills, spells, etc.
The status bar is basically the bottom print without the bottom print.


Most likely because that's only the root of the script.

Most likely because that's only the root of the script.
The guis seem broke in general.

Perhaps, I just PMed him about an issue I'm having with my saving script so I'll ask him if he replies and doesn't see this topic first.

What happened to brickmin? poof? :\

Good luck.Ill be watching