ID:270289
 
How do you get stuff like recent updates or Score ladders on there, like in Icon Ultima or DBZ Final Ressurection(I think)?
Look up the browse() proc.
It goes a lil like this just to give you an idea:
mob
verb
Browser()
usr << browse("hi")

In response to FinalFantasyGamer
I learn better with visuals. Can someone maybe show me a more detailed example of what I talking about please? Thank you. I plan on using this knowledge for a PK ladder and a few other things.
In response to FinalFantasyGamer
ya here is how i did mine(it is the same way he told you)



mob
Login()
..()
usr<<browse({"<center><body bgcolor=black><font color=blue size=5><b>Message of the week<b></font></center><BR>
<font color=red size=3></b>Listen to anyone that has a rank of Master or Higher.<BR>



that is an extract from mine
In response to Pyro_dragons
look at the 1 i just posted the ladder might be hard to make but try making a combat system that uses a point system for ranking. By the way how do u get avatars? Do you have to be member?
In response to Mxjerrett
Ok I see now, thanks.

Just a quickie though, how would is put info from the game, say like PK ladder, keeping track of all the kills? Would it be the same as putting the info in [] according to the proc it's in?
In response to Mxjerrett
Mxjerrett wrote:
look at the 1 i just posted the ladder might be hard to make but try making a combat system that uses a point system for ranking. By the way how do u get avatars? Do you have to be member?

I can do the ladder, thats easy, I was just wondering if you input the data the same way you would in other "", meaning []'s.

Yes, you have to be a member to have an avatar.
In response to Pyro_dragons
i dont know but i have done something simular b4. I took and made a point value for each monster the harder the monster the more points(Duh...). I took and made a little code in the browser that added the points together and showed who was in the lead just do that with the mobs but set the value determined by the mobs level.
In response to Mxjerrett
Once again, I know how to do and how I'm going to do the ladder. I was just wondering, as I've stated 3 times, if you input the rank data in []'s like in other ""'s.
In response to Pyro_dragons
i honestly dont know but i think so
Could store the rankings in an associative list.
var/list/ranking=list()
proc/AddScore(mob/M,score)
if(!M||!score) return
ranking["[M.name]([M.key])"]=score
mob/verb
viewscore()
if(!ranking)
usr<<"There are no submitted scores."
return
var/HTML={"
<html>
<body>
"}

for(var/A in ranking) HTML+=" [A] - [ranking[A]]<br>"
HTML+={"
</body>
</html>
"}

usr<<browse(HTML)
addscore(m as mob,n as num)
if(!m||!n)return
AddScore(m,n)