Register to post in forums, or Log in to your existing account
 
:
Search found 35 matches for:
Page 1 of 2 Goto page 1, 2  Next
Author Message
  Topic: Set Content-Type: application/json with %url? or VBscript solution to post JSON
Takilara

Replies: 5
Views: 5617

PostForum: CMUD General Discussion   Posted: Thu Mar 12, 2020 10:39 pm   Subject: Set Content-Type: application/json with %url? or VBscript solution to post JSON
I would get to trial and error with ample use of #SAY to see what is what.

I gave up on the %url
using zvar.xxx in a JScript passes by reference, not by value, often borking the ZScript side of ...
  Topic: Set Content-Type: application/json with %url? or VBscript solution to post JSON
Takilara

Replies: 5
Views: 5617

PostForum: CMUD General Discussion   Posted: Mon Mar 09, 2020 7:22 pm   Subject: Set Content-Type: application/json with %url? or VBscript solution to post JSON
Hmm.. never got around to using %url myself, lots of options.
Try this?

$url=%url("http://127.0.0.1")
$url.Port=8080
$url.ContentType="some/string"

$post=$url.Post
#SHOW $post

Thanks, It ...
  Topic: Set Content-Type: application/json with %url? or VBscript solution to post JSON
Takilara

Replies: 5
Views: 5617

PostForum: CMUD General Discussion   Posted: Sun Mar 08, 2020 9:31 pm   Subject: Set Content-Type: application/json with %url? or VBscript solution to post JSON
Note that i have gotten this to work with JScript and WScript using zvar helper variable. JScript seem by far the cleanest.
(I am still curious about the %url function though...)

I put the below a ...
  Topic: Set Content-Type: application/json with %url? or VBscript solution to post JSON
Takilara

Replies: 5
Views: 5617

PostForum: CMUD General Discussion   Posted: Sun Mar 08, 2020 7:24 pm   Subject: Set Content-Type: application/json with %url? or VBscript solution to post JSON
Hello,
I am trying to have CMUD (Pro) upload telemetry to a Thingsboard page.
I currently do this by having CMUD write out CSV files, and an external script monitoring these files, and push the tele ...
  Topic: Wish-list for zMUDXP
Takilara

Replies: 248
Views: 406963

PostForum: zMUD General Discussion   Posted: Wed Dec 07, 2005 12:48 pm   Subject: Wish-list for zMUDXP
- Ability to sync settings and maps across computers
(Would need to be able to use FTP, SFTP, form POST)
and/or
- Ability to run from "stick" without install
  Topic: Checking the date/time of a file using zMUD commands
Takilara

Replies: 6
Views: 9675

PostForum: zMUD General Discussion   Posted: Wed Dec 07, 2005 11:17 am   Subject: Checking the date/time of a file using zMUD commands
Update: Just tested this method for syncing the map databse also, however that turns out not to work so good because of the size. So i dont see any good way of syncing the map without using some sort ...
  Topic: Checking the date/time of a file using zMUD commands
Takilara

Replies: 6
Views: 9675

PostForum: zMUD General Discussion   Posted: Tue Dec 06, 2005 10:27 pm   Subject: Checking the date/time of a file using zMUD commands
Finally got it,, damn gotta say VBScript aint my strongest language..
Adapted in part from: http://www.motobit.com/tips/detpg_uploadvbsie/
(Seems to have been written by Antonin Foller)

first a c ...
  Topic: Checking the date/time of a file using zMUD commands
Takilara

Replies: 6
Views: 9675

PostForum: zMUD General Discussion   Posted: Tue Dec 06, 2005 7:43 am   Subject: Checking the date/time of a file using zMUD commands
Brilliant, i'm gonna try this out asap:)
thanks
  Topic: Checking the date/time of a file using zMUD commands
Takilara

Replies: 6
Views: 9675

PostForum: zMUD General Discussion   Posted: Mon Dec 05, 2005 2:26 pm   Subject: Checking the date/time of a file using zMUD commands
well i cannot use FTP, as the server im gonna use does not supprot regular ftp, so to get the timestamp of the remote file id have to open a socket to a webpage on hte server, on that webpage id run a ...
  Topic: Map Room Desc's. Help!
Takilara

Replies: 6
Views: 5755

PostForum: zMUD General Discussion   Posted: Mon Dec 05, 2005 2:17 pm   Subject: Map Room Desc's. Help!
From zmud help:

make sure that you are in the zone where the rooms you want to study are (ie the blue dot in the map is in the zone you want to examine)

#CALL %mapfilter(%concat("ZoneID = ",%zon ...
  Topic: Checking the date/time of a file using zMUD commands
Takilara

Replies: 6
Views: 9675

PostForum: zMUD General Discussion   Posted: Mon Dec 05, 2005 1:43 pm   Subject: Checking the date/time of a file using zMUD commands
I was wondering if it is possble to check the timestamp of last modified using zmud commands, or using the #SCRIPT command with a vbscript?

What im trying to achieve:
Comparing timestamp of my set ...
  Topic: access scrollback (buffer) from COM object
Takilara

Replies: 3
Views: 4573

PostForum: zMUD General Discussion   Posted: Mon Sep 20, 2004 6:13 am   Subject: access scrollback (buffer) from COM object
Well, i have made a program (http://dlogs.net/logedit/) that allows direct copy paste from zmud to the program, that keeps colors, and allows the user to save as html and rtf. However i was hoping to ...
  Topic: access scrollback (buffer) from COM object
Takilara

Replies: 3
Views: 4573

PostForum: zMUD General Discussion   Posted: Fri Sep 17, 2004 12:30 pm   Subject: access scrollback (buffer) from COM object
Hello, i was just wondering if it is possible to access the entire scrollback (buffer) throught the COM Server in zmud. i cannot find any function for it in zmud.inc or any builtin variable that could ...
  Topic: Creation of ascii maps
Takilara

Replies: 1
Views: 3476

PostForum: zMUD General Discussion   Posted: Wed Sep 08, 2004 8:38 am   Subject: Creation of ascii maps
the freeware program ASCII Mapmaker allows you to draw a map and save as ascii map:
link:
http://www.stud.ux.his.no/~austad/mud/mapmaker
  Topic: Alarm time left
Takilara

Replies: 4
Views: 4754

PostForum: zMUD General Discussion   Posted: Thu Feb 13, 2003 7:25 pm   Subject: Alarm time left
yea ive been dooing it that way, however i wanted an easier way, i hate having those constant alarm second counters

  Topic: command input trigger reacting to only ENTER
Takilara

Replies: 2
Views: 3805

PostForum: zMUD General Discussion   Posted: Wed Feb 12, 2003 8:19 pm   Subject: command input trigger reacting to only ENTER
Ah i tried ^$ and %cr
thanks :)

  Topic: Pattern question
Takilara

Replies: 4
Views: 5434

PostForum: zMUD General Discussion   Posted: Wed Feb 12, 2003 7:14 pm   Subject: Pattern question
Hmm i disabled the messages, but then i couldnt type #var and see my variables or #alarm to see my alarms, solved it by using (%*) in the pattern instead, i dont have to see any of the alarms i disabl ...
  Topic: Pattern question
Takilara

Replies: 4
Views: 5434

PostForum: zMUD General Discussion   Posted: Wed Feb 12, 2003 6:35 pm   Subject: Pattern question
ehh i can disable those, doh.
Ill get right too it, thanks :)

  Topic: command input trigger reacting to only ENTER
Takilara

Replies: 2
Views: 3805

PostForum: zMUD General Discussion   Posted: Wed Feb 12, 2003 2:44 pm   Subject: command input trigger reacting to only ENTER
I can capture most of the command input i type with a trigger of the type command input and with pattern (%*)
however is it possible to capture a single ENTER keypress ?
I tried to use %cr and %lf i ...
  Topic: Pattern question
Takilara

Replies: 4
Views: 5434

PostForum: zMUD General Discussion   Posted: Wed Feb 12, 2003 1:51 pm   Subject: Pattern question
i wanna make a pattern that reacts to the following line:
Trigger {@modbadge} removed.

(note i do not want it to react to the value inside the modbadge, (i have alarms using variables as the time, ...
  Topic: Alarm time left
Takilara

Replies: 4
Views: 4754

PostForum: zMUD General Discussion   Posted: Fri Feb 07, 2003 6:30 pm   Subject: Alarm time left
is there an easy way to read out the time left of an alarm to a variable without running #alarm then trigger on the alarm ?

(i know how to do this in more complex ways, however i just wanna know if ...
  Topic: Help with creating a script
Takilara

Replies: 13
Views: 13801

PostForum: zMUD General Discussion   Posted: Sun Dec 15, 2002 6:35 pm   Subject: Help with creating a script
I hate to ruin the fun, but remember that the mud you wanted this script for does not allow scripts Hierba.

  Topic: Converting ANSI to HTML?
Takilara

Replies: 65
Views: 64722

PostForum: zMUD General Discussion   Posted: Thu Nov 21, 2002 8:50 am   Subject: Converting ANSI to HTML?
In the preferences you need the scheme to be VT100 for it to work ok, in ANSI mode it seems too many color codes are left out or spanned across lines.
However some more info on setting up zMUD for us ...
  Topic: Converting ANSI to HTML?
Takilara

Replies: 65
Views: 64722

PostForum: zMUD General Discussion   Posted: Wed Nov 20, 2002 12:25 pm   Subject: Converting ANSI to HTML?
Heh, i hope you would consider letting my page keep the logs from the mud you play on, instead of making a similar page :)

  Topic: Buttons with gauges
Takilara

Replies: 6
Views: 5876

PostForum: zMUD General Discussion   Posted: Wed Oct 16, 2002 7:43 am   Subject: Buttons with gauges
it works like a charm :) thanks :)

 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net