Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 90 91 [92] 93 94 ... 135

Author Topic: kingdoms: web-based RPG  (Read 132838 times)

Tiruin

  • Bay Watcher
  • Life is too short for worries
    • View Profile
Re: kingdoms: web-based RPG
« Reply #1365 on: January 07, 2015, 07:03:45 pm »

Hmm, is there anyplace I may move to that is owned by any B12-er? It seems the 100,100-ish plan looks like its occupied by a kingdom already. o_o
Logged

Girlinhat

  • Bay Watcher
  • [PREFSTRING:large ears]
    • View Profile
Re: kingdoms: web-based RPG
« Reply #1366 on: January 07, 2015, 07:12:07 pm »

Ashford, 93,71 is currently under my mayor-ship.  We have many fantastic attractions.  We have a goat.  You have a choice to visit any of our one prostitutes.  If you travel with the deluxe package, you'll enjoy only getting taxed a little!  Be sure to tell your friends and family how much time you spent watching two farmers spend literally all day waiting for a harvest of crops to mature as they sat on their front porch, which is actually just the dirt in front of the dirt which they sleep on.

Tiruin

  • Bay Watcher
  • Life is too short for worries
    • View Profile
Re: kingdoms: web-based RPG
« Reply #1367 on: January 07, 2015, 07:15:01 pm »

Ashford, 93,71 is currently under my mayor-ship.

We have a goat.

[...]two farmers spending literally all day waiting for a harvest of crops to mature as they sat on their front porch, which is actually just the dirt in front of the dirt which they sleep on.
This gets my stay. :D
Logged

Reelya

  • Bay Watcher
    • View Profile
Re: kingdoms: web-based RPG
« Reply #1368 on: January 07, 2015, 08:04:27 pm »

So your script seems to silently crash when it tries to get coords out of the location string. I'm guessing it worked for you, so it's probably something to do with culture. More details soon.
huh. location is null. What is it that the line
/Location<\/span>\: \d\d, \d\d/.exec(status.innerHTML);
is supposed to do?
ah, I see- it's a regEx (though why it's before the string I can not grasp.) My location is actually not matched by it on account of the X coordinate being single digit.
replacing \d\d with \d* in both places (the other being location[0].match(/ \d*/g);) has fixed the issue.

It's before the string because that's what worked in JavaScript. Ok, I adjusted it with the more traditional [0-9] notation, hope that's better cross-platform.

EDIT: Ok, I implemented unlimited waypoints now, you enter them as a list of numbers. They need commas between them all, brackets are optional. EDIT2 Automatic waypoint clearing has been achieved (for use with the javascript browser plugin). If it misses a waypoint you can still edit it out. I might make a "clear last waypoint" button if it happens often. If you spend more that 15 seconds at your waypoint you should be ok.
« Last Edit: January 08, 2015, 02:49:32 am by Reelya »
Logged

a1s

  • Bay Watcher
  • Torchlight Venturer
    • View Profile
Re: kingdoms: web-based RPG
« Reply #1369 on: January 08, 2015, 04:29:39 am »

Ok, I adjusted it with the more traditional [0-9] notation, hope that's better cross-platform.
That wasn't the issue. \d\d and [0-9][0-9] match the same thing. But they don't match single digit numbers (like "2" as in "4,2" - there's no leading zero).
(you can also do \d\d+, if you think \d* might match the wrong thing)
« Last Edit: January 08, 2015, 04:31:12 am by a1s »
Logged
I tried to play chess but two of my opponents were playing competitive checkers as a third person walked in with Game of Thrones in hand confused cause they thought this was the book club.

Reelya

  • Bay Watcher
    • View Profile
Re: kingdoms: web-based RPG
« Reply #1370 on: January 08, 2015, 04:37:29 am »

Ah ok, yeah I get you now, it wasn't clear what you meant was the problem before. I went with [0-9]{1,3}
« Last Edit: January 08, 2015, 05:02:50 am by Reelya »
Logged

Crowe~

  • Bay Watcher
    • View Profile
Re: kingdoms: web-based RPG
« Reply #1371 on: January 08, 2015, 07:21:09 am »

Your manual update, "last check since" doesnt seem to work
Logged

Reelya

  • Bay Watcher
    • View Profile
Re: kingdoms: web-based RPG
« Reply #1372 on: January 08, 2015, 08:01:34 am »

Yeah not sure what happened because it did work before to correctly update the "last check" date in the first place. It's fixed now. The "blacksmith days" already progressed properly though. I'm really like the route planning thing I did today though, this makes it much easier for me to plan serial dungeon raids.
« Last Edit: January 08, 2015, 08:03:14 am by Reelya »
Logged

Funk

  • Bay Watcher
    • View Profile
Re: kingdoms: web-based RPG
« Reply #1373 on: January 08, 2015, 08:04:56 am »

Just checked to see if my old log in work and it does.
So now i have a level 4 party what should i do?
Logged
Agree, plus that's about the LAST thing *I* want to see from this kind of game - author spending valuable development time on useless graphics.

Unofficial slogan of Bay 12 Games.  

Death to the false emperor a warhammer40k SG

Sartain

  • Bay Watcher
    • View Profile
Re: kingdoms: web-based RPG
« Reply #1374 on: January 08, 2015, 08:11:34 am »

Had to leave Ashford as it ran out of crossbow bolts and because it still doesn't have a blacksmith. Also, apparently nobody wants to buy my indestructible weapons :(
Logged

Arx

  • Bay Watcher
  • Iron within, iron without.
    • View Profile
    • Art!
Re: kingdoms: web-based RPG
« Reply #1375 on: January 08, 2015, 08:13:17 am »

Had to leave Ashford as it ran out of crossbow bolts and because it still doesn't have a blacksmith. Also, apparently nobody wants to buy my indestructible weapons :(

Wrong!

Just checked to see if my old log in work and it does.
So now i have a level 4 party what should i do?

Level a little more and maybe head towards the East side of the map. We're (slowly) building a kingdom based from Ashford.



Reelya, the Parties page is bugged, down, or both. If that's because you're currently working on it, sorry for mentioning it.
« Last Edit: January 08, 2015, 08:18:26 am by Arx »
Logged

I am on Discord as Arx#2415.
Hail to the mind of man! / Fire in the sky
I've been waiting for you / On this day we die.

Crowe~

  • Bay Watcher
    • View Profile
Re: kingdoms: web-based RPG
« Reply #1376 on: January 08, 2015, 08:16:11 am »

Did you just buy them Arx?
Logged

Arx

  • Bay Watcher
  • Iron within, iron without.
    • View Profile
    • Art!
Re: kingdoms: web-based RPG
« Reply #1377 on: January 08, 2015, 08:18:56 am »

One of them. I had a warrior using a hand-axe anyway...
Logged

I am on Discord as Arx#2415.
Hail to the mind of man! / Fire in the sky
I've been waiting for you / On this day we die.

Sartain

  • Bay Watcher
    • View Profile
Re: kingdoms: web-based RPG
« Reply #1378 on: January 08, 2015, 08:34:47 am »

Yeah, one of them sold.

Also, know what I really hate? Really, really hate? Stepping on to a teleporter hidden by an enemy mob and get teleported back to level 1 of a dungeon, from level 3  >:(
Logged

Reelya

  • Bay Watcher
    • View Profile
Re: kingdoms: web-based RPG
« Reply #1379 on: January 08, 2015, 08:38:17 am »

Had to leave Ashford as it ran out of crossbow bolts and because it still doesn't have a blacksmith. Also, apparently nobody wants to buy my indestructible weapons :(

Wrong!

Just checked to see if my old log in work and it does.
So now i have a level 4 party what should i do?

Level a little more and maybe head towards the East side of the map. We're (slowly) building a kingdom based from Ashford.



Reelya, the Parties page is bugged, down, or both. If that's because you're currently working on it, sorry for mentioning it.

Yeah, I was just working on it. I added the feature to add your own party at the bottom.
Pages: 1 ... 90 91 [92] 93 94 ... 135